-
Notifications
You must be signed in to change notification settings - Fork 43
feat(llc): Make sure the audio input device is set even when the user joins muted #1024
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
""" WalkthroughThe updates address an issue where changing the audio input device while muted at the start of a call did not apply the new device upon unmuting. This is achieved by refining error handling and device application logic in the call and WebRTC management code. Changelog entries were updated to reflect these fixes. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Call
participant RtcManager
User->>Call: setAudioInputDevice(device)
Call->>RtcManager: setAudioInputDevice(device)
RtcManager-->>Call: Result (success or TrackMissingException)
alt TrackMissingException
Call-->>User: Return success (device will be set on unmute)
else Success
Call-->>User: Return success
else Failure
Call-->>User: Return failure
end
User->>Call: setMicrophoneEnabled(enabled=true)
alt Enabling and device in options
Call->>Call: setAudioInputDevice(current device)
end
Call-->>User: Result
Assessment against linked issues
Assessment against linked issues: Out-of-scope changesNo out-of-scope changes detected. Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1024 +/- ##
========================================
+ Coverage 4.24% 4.34% +0.10%
========================================
Files 574 574
Lines 38526 38534 +8
========================================
+ Hits 1634 1675 +41
+ Misses 36892 36859 -33 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
resolves FLU-202
When the user joins the call muted, the audio track is not created. It will be created the first time he or she unmutes. If the user wants to set the audio input device during that time, it would fail. We want to make it possible by storing the chosen deviceId and applying the change when the track is created.
Summary by CodeRabbit
Summary by CodeRabbit