I am working on a WebRTC client and I would like to allow the clients to modify the ongoing audio/video session to add or remove an audio or video stream.
So for instance if there is an ongoing audio/video call between two clients, one client can modify the session and add another video stream to share his screen. So the remote client can see the video from the camera, and the video captured from the screen.
I do the modification by sending a re-INVITE with the updated SDP that will supposedly contain two video media lines.
My question is, would it be possible for the receiver to receive such SDP and deal with each video media line independently but over the same peerConnection?
Thank you.