-
Notifications
You must be signed in to change notification settings - Fork 20
RTC-510 Recording manual subscribe mode #174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #174 +/- ##
==========================================
- Coverage 87.31% 86.97% -0.35%
==========================================
Files 72 72
Lines 1388 1397 +9
==========================================
+ Hits 1212 1215 +3
- Misses 176 182 +6
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
1b8572c to
85dd78c
Compare
lib/jellyfish/component/recording.ex
Outdated
| """) | ||
|
|
||
| with {:ok, serialized_opts} <- serialize_options(options, Options.schema()), | ||
| result_opts <- Map.update!(serialized_opts, :subscribe_mode, &String.to_atom/1), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: I would wrap this line in function get_subscribe_mode or parse_subscribe_mode for consistency
lib/jellyfish/room.ex
Outdated
| end | ||
|
|
||
| defp get_hls_component(%{components: components}), | ||
| defp get_component_by_id(%{components: components} = _state, component_id), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| defp get_component_by_id(%{components: components} = _state, component_id), | |
| defp get_component_by_id(%{components: components}, component_id), |
4c52688 to
83c7a6c
Compare
| "id" => id, | ||
| "type" => "recording", | ||
| "properties" => %{"pathPrefix" => path_prefix} | ||
| "properties" => path_prefix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this variable be named properties?
Acknowledging the stipulations set forth:
PR in Elixir SDK
PR in Python SDK
PR in Docs