What happened:
After you press ‘Show/hide participants video’ button on the left sidebar video stops as it should, but after clicking this button again nothing happens, meaning me-video doesnt` show.
Why this happens:
In RoomClient.js in the disableAudioOnly function there is
if ( !this._webcamProducer && this._produce && (cookiesManager.getDevices() || {}).webcamEnabled ) { this.enableWebcam() }
The (cookiesManager.getDevices() || {}).webcamEnabled
line wouldn’t let webcam become enabled again, because there were no cookiesManager.setDevices({ webcamEnabled: true })
at the startup. The only place where devices cookie is set is in the Me.jsx on the toggleWebcam button.
But if you never clicked it - there wouldn`t be a cookie, so nothing happens
Way to reproduce:
- Open demo in the incognito mode
- Press Show/hide participants video
- Press Show/hide participants video again
P.S. a bug’s a bug, I mean, if there shouldnt be bug reports in demo github - wouldn
t it be right to close issues tracker there?
P.S.S I can see how drammatically you are enraged by the huge stream of stupid questions, that you close issues at such pace, but come on, I am trying to be different and of a help here