Skip to content
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

[bug] Enabling/disabling camera resets speaker to default options #696

Open
phr4fh opened this issue Jan 28, 2025 · 0 comments
Open

[bug] Enabling/disabling camera resets speaker to default options #696

phr4fh opened this issue Jan 28, 2025 · 0 comments

Comments

@phr4fh
Copy link

phr4fh commented Jan 28, 2025

Describe the bug
When you provide defaultAudioOutputOptions in Room() constructor, then while you are in the room, disabling or enabling your camera or microphone resets the speaker to the default options, even if the speaker was changed before.

To Reproduce

  • Use the livekit client example
  • put defaultAudioOutputOptions: AudioOutputOptions(speakerOn: true), in Room() constructor of prejoin.dart
  • start the room -> the speaker is on like it should
  • turn off the speaker (the button in the UI calls Hardware.instance.setSpeakerphoneOn(false)) -> the speaker is off like it should
  • turn off the camera (the button in the UI calls participant.setCameraEnabled(false) ) -> the speaker turns on by itself again

Expected behavior

changing the camera or microphone setting should have no effect on the speaker setting

Platform information

  • Flutter version: 3.27.3
  • Plugin version: 2.3.5
  • Flutter target OS: Android
  • Flutter target OS version: Android 13
  • Flutter console log:
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

No branches or pull requests

1 participant