membraneframework-labs / membrane_videoroom

Apache License 2.0
42 stars 8 forks source link

MV-233 Duplicated media section workaround #68

Closed kamil-stasiak closed 1 year ago

kamil-stasiak commented 1 year ago

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: