Skip to content

Conversation

@liviu-timar
Copy link
Contributor

@liviu-timar liviu-timar commented Nov 20, 2024

🎯 Goal

Fix issue that causes sound to still be heard even if device is muted.

🛠 Implementation details

  • Rely on CallServiceConfig#audioUsage when building the PeerConnectionFactory
  • Deprecate the StreamVideoBuilder#audioUsage parameter, which is now ignored. Only the above value should be used.
  • Some service configs, like livestreamGuestCallServiceConfig, use MEDIA, which allows muting the sound, as opposed to VOICE_COMMUNICATION.

🎉 GIF

@liviu-timar liviu-timar changed the title Rely on audio usage from callServiceConfig [AND-6] Rely on audio usage from callServiceConfig Nov 20, 2024
@liviu-timar liviu-timar changed the title [AND-6] Rely on audio usage from callServiceConfig [AND-26] Rely on audio usage from callServiceConfig Nov 20, 2024
@liviu-timar liviu-timar changed the title [AND-26] Rely on audio usage from callServiceConfig [AND-26] Fix sound still audible when device muted issue Nov 20, 2024
@liviu-timar liviu-timar force-pushed the AND-26-fix-sound-audible-when-muted branch 3 times, most recently from 8696185 to 51a7ba9 Compare November 20, 2024 15:49
@liviu-timar liviu-timar marked this pull request as ready for review November 21, 2024 14:43
@liviu-timar liviu-timar requested a review from a team as a code owner November 21, 2024 14:43
@liviu-timar liviu-timar force-pushed the AND-26-fix-sound-audible-when-muted branch from 01236a5 to a6f46f4 Compare November 27, 2024 15:10
@aleksandar-apostolov aleksandar-apostolov merged commit ba11dec into develop Nov 29, 2024
6 checks passed
@aleksandar-apostolov aleksandar-apostolov deleted the AND-26-fix-sound-audible-when-muted branch November 29, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants