This is not fix for MV-233. It's only a workaround. In this PR I only change the behavior of media control buttons, to minimalize the negative impact of this bug. Now stop/start buttons only disable tracks, so we are sending media streams full of black pixels or empty audio. The camera as a device is active all the time, we don't disable the camera after a button press. ScreenSharing still generates new media sections.
Other improvements:
camera on / off indicator
loading stream indicator - icons animate between "onTrackAdded" and "onTrackReady"
This is not fix for MV-233. It's only a workaround. In this PR I only change the behavior of media control buttons, to minimalize the negative impact of this bug. Now stop/start buttons only disable tracks, so we are sending media streams full of black pixels or empty audio. The camera as a device is active all the time, we don't disable the camera after a button press. ScreenSharing still generates new media sections.
Other improvements: