Share screen and audio/video from single peer connection!

© Muaz Khan . @WebRTCWeb . Github . Latest issues . What's New?



  1. It is one-way streaming; flowing from peer1 to peer2.
  2. peer1 attached both screen capturing stream; and audio/video stream.
  3. On "peer2" side; "onaddstream" event is fired two times.
  4. First time; "onaddstream" returned audio/video stream; and last time it returned screen capturing stream.
  5. Basically it is multi-streams attachment demo.
  6. You can get same functionality via "renegotiation" process; supported by RTCMultionnection v1.3 and v1.4
// attaching audio/video stream
// attaching screen capturing stream

Latest Updates


Enter your email too; if you want "direct" reply!