I’m streaming a local usb camera and set up a gstreamer 1.20.3 pipeline with vp8 encoding to a local udpsink. (no audio)
Then I run a janus 1.2.0 server with streaming plugin and rtp multistream configuration to stream the video to a browser.
In the browser I use the original streamingtest from the repo (just changed the urls in the settings)
When the stream track is starting in the frontend, then I immediately get a mute event and a bit later I get an unmute event and the video is showing. (This happens in the official janus streaming demo, too)
When I however change the codec in the gstreamer to h264 or av1 then I do not get the unmute event after the innitial mute event and the video is not showing. If I restart the gstreamer while the janus is still running, then I get an unmute event and the video i showing in the browser.
My questions:
- Why is there a mute event in the first place? Is it janus or gstreamer related?
- I assume the mute / unmute events are triggered in the backend, not in the browser. What might be the cause for that?
- Is there any way to trigger the unmute manually in the backend? Maybe for a workaround if everything else fails.
I spent many hours trying to identify the issue, with no success. Does anyone have an idea what this might be?