Switch branches/tags
Nothing to show
Find file History
muaz-khan meeting.js & screen.js fixed for Edge/Safari11/Firefox.
Other demos updated are:
1) RecordRTC.js
2) RTCMultiConnection.js
3) Canvas-Designer
4) Chrome-Extension (desktopCapture, p2p, and screen recoridng)
5) DetectRTC.js
6) getStats.js
7) getScreenId.js
8) MultiStreamsMixer.js
9) RTCMultiConnection-SignalR

and tons of other demos updated as well.
Latest commit 2352da4 May 12, 2018


WebRTC One-to-Many video sharing/broadcasting / Demo


  1. This WebRTC experiment is for one-to-many transmission of audio/video streams.
  2. It sets up multiple peer connections to support the multi-user connectivity feature. Rememebr, WebRTC doesn't supports 3-way handshake!
  3. Multi-peers establishment opens many RTP-ports according to the number of media streamas referenced to each peer connection.
  4. Multi-ports establishment causes huge CPU and bandwidth usage!


If 10 users join your broadcasted room, 40 RTP ports will be opened on your browser:

  1. 10 RTP ports for outgoing audio streams
  2. 10 RTP ports for outgoing video streams
  3. 10 RTP ports for incoming audio streams
  4. 10 RTP ports for incoming video streams


Difference between one-way broadcasting and one-to-many broadcasting

For 10 users session, in one-way broadcasting:

  1. 10 RTP ports for outgoing audio stream
  2. 10 RTP ports for outgoing video stream

i.e. total 20 outgoing RTP ports will be opened on your browser.

On each participant's side; only 2 incoming RTP ports will be opened.

Unlike one-way broadcasting; one-to-many broadcasting experiment opens both outgoing as well as incoming RTP ports for each participant.


For signaling; please check following page:


Remember, you can use any signaling implementation without modifying a single line! Just skip below code and open above link!


Browser Support

This WebRTC Video Broadcasting Experiment works fine on following web-browsers:

Browser Support
Firefox Stable / Aurora / Nightly
Google Chrome Stable / Canary / Beta / Dev
Android Chrome Beta



WebRTC Video Broadcasting Experiment is released under MIT licence . Copyright (c) 2013 Muaz Khan.