Skip to content

Latest commit

 

History

History

audio-broadcast

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

WebRTC One-to-Many audio sharing/broadcasting Demo

=

  1. This WebRTC experiment is aimed to transmit audio stream in one-to-many style.
  2. It setups multiple peer connections to support multi-user connectivity feature. Rememebr, WebRTC doesn't supports 3-way handshake!
  3. Out of multi-peers establishment; many RTP-ports are opened according to number of media streamas referenced to each peer connection.
  4. Multi-ports establishment will cause huge CPU and bandwidth usage!

=

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

  1. 10 RTP ports for outgoing audio streams
  2. 10 RTP ports for incoming audio streams

=

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

For 10 users session, maximum 10 RTP ports for outgoing audio stream will be opened.

On each participant's side; only one incoming RTP port 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:

https://github.com/muaz-khan/WebRTC-Experiment/blob/master/Signaling.md

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

=

Browser Support

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

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

=

License

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