Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
This wiki page lists & explains all WebRTC broadcasting experiments and their usages & customizations.
This peer-to-peer solution allows you share your files with unlimited users in oneway direction. No users limit. No bandwidth or CPU issues. Highly scalable and reliable solution. Only moderator or broadcast-initiator can share files. This solution works on any WebRTC (1.0) compatible browser.
Same solution also allows you broadcast your video or audio or screen over unlimited users. Broadcast of "streams" may bring some quality and delay issues however it seems working fine in both Chrome and Firefox.
This solution is using nodejs and socket.io to bring reliability in the peers detection & connections.
Broadcast video using RTCMultiConnection
The demo source:
This demo is using Firebase as signaling medium and RTCMultiConnection as a wrapper for WebRTC connections. It can broadcast video over about 14 users, at least.
Don't forget checking possible issues: WebRTC RTP Usage
Standalone Broadcasting Demo
The demo source:
This demo works similar like previous section, however it isn't using any external library e.g. RTCMultiConnection.
This demo allows you share/broadcast video/audio/screen over at least 14 users.
Here are some oneway screen broadcasting demos:
- Screen Broadcast using RTCMultiConnection
- Standalone Screen Broadcasting demo
- Screen Broadcast using Screen.js
All above demos are one-way broadcasting demos. Below demos are implementing one-to-many broadcasting pattern.
One-to-Many means each user can watch/talk with broadcaster however participants are NOT interconnected.
It is useful in teacher-to-students cases.
A few one-to-many style of broadcasting demos:
- Simple One-to-Many Video Broadcasting demo
- Simple One-to-Many Audio Broadcasting demo
- Another one-to-many video broadcast
- Another one-to-many audio broadcast
There is a demo that allows broadcasting screen in oneway direction, but audio in two-way.
There is another demo allows broadcasting multiple cameras. It is simple (not-complex) though:
One of the most complex and useful broadcasting demo is Multiple Broadcasters and Many Viewers:
Multiple Broadcasters and Many Viewers demo allows broadcasting multiple teachers' videos over all students. Students can merely watch/listen all teachers' broadcasts.
Here is a chrome-extension that allows you broadcast screen over at least 14 users:
Here is a chrome-extension that allows you broadcast tabs over at least 14 users:
Here is a chrome extension that allows you broadcast/share files with at least 14-users. It is oneway style of file sharing: