There is no proper client end frontend workaround for this like _busy that the examples connect.dart uses for room connecting because if you never accept the permissions then you will get in a state that you cant publish your camera anymore with the participant.setCameraEnabled(true)
Expected behavior
In any scenario participant.setCameraEnabled(true) should not publish multiple same video tracks.
if setMicrophoneEnabled publishes multiple audio tracks in a similar manner it should not do so.
Describe the bug
participant.setCameraEnabled(true); published multiple VideoTracks if pressed multiple times.
Im wondering if
setMicrophoneEnabled
does this as well and if it does I hope it can be fixed as well.To Reproduce
Run example and see video:
https://github.com/livekit/client-sdk-flutter/assets/36403567/e190bf3a-86b8-406d-b8e1-7ae52443b38d
There is no proper client end frontend workaround for this like
_busy
that the examplesconnect.dart
uses for room connecting because if you never accept the permissions then you will get in a state that you cant publish your camera anymore with theparticipant.setCameraEnabled(true)
Expected behavior
In any scenario
participant.setCameraEnabled(true)
should not publish multiple same video tracks.if setMicrophoneEnabled publishes multiple audio tracks in a similar manner it should not do so.
Platform information
Flutter Web