I have a live screen capture media stream returned from getDisplayMedia(),
and a live webcam media stream returned from getUserMedia().
I currently render the webcam video on top of the screen share video, to create a picture-in-picture effect:
I want to mix / combine them into one video stream, in order to render it inside a single HTML video element.
I want to keep both streams active & live just as if they were two separate videos rendering two different media streams.
I also need to maintain the streams positions - keeping the webcam stream small and on top of the screen share stream. It's also really important for me to keep the original resolution and bitrate.
How can I do that?
