And I’m also able to add these tracks locally and remotely using addTrack() and it works perfectly fine with Audio, Video and Screen Share at the same time.
But problem is when I’m creating Audio and Video at the time of initialization and later I want to add a screen share then it is giving me following error while calling addTrack() to add desktop stream.
cannot add second video track to conference
Any idea if we can add screen share alongwith video track?
In multiple places in the system there are assumptions that a participant can have one audio and one video stream. So there is no such option.
You can try out on meet.jit.si - presenter mode. Start screen sharing and unmute your camera.
Thank you very much sir, I’m trying to develop our own GUI. But may I know why there is such limitation in the system? WebRTC does not impose any such restriction. Is it possible if we can modify the code and remove this restriction and re-compile lib-jitsi-meet?