Comments (4)
Please try this demo instead:
from webrtc-scalable-broadcast.
Is a webinar suit with that?
from webrtc-scalable-broadcast.
It isn't an ultimate solution however it can help as following:
- Webinar is initiated by a media server (broadcaster is streaming to server)
- Root-level nodes pulls stream from media server
- Nested 5-6 child nodes can fetch from root-nodes (using peer-to-peer methods i.e. using this scalable-broadcast techniques)
E.g.
broadcaster started streaming to mediaServerXYZ
# these are top-level nodes that pulls directly from server
peer1 connected with mediaServerXYZ and receiving stream directly from the server.
peer2 connected with mediaServerXYZ and receiving stream directly from the server.
peer3 connected with mediaServerXYZ and receiving stream directly from the server.
# these are nested/child nodes that uses p2p techniques to get relaying stream
# these nodes never connects with media server
# (until special case is defined i.e. if any of the top node leaves)
# peer1 can serve 3 or 5 users
normalUser1 connected with peer1
normalUser2 connected with peer1
normalUser3 connected with peer1
# peer2 can serve 3 or 5 users
normalUser4 connected with peer2
normalUser5 connected with peer2
normalUser6 connected with peer2
# peer3 can serve 3 or 5 users
and so on
# note: normalUser* merely receives. Never relays.
i.e. 100 top-level nodes are fetching stream from the server, however they are further relaying to 300 or 500 nested/child nodes.
from webrtc-scalable-broadcast.
@muaz-khan thank you for a explanation. Today tried your code of this scalable broadcast in both, in chrom and firefox, it works great with tandem of audio plus video. But don't know how to test with many users.
Anyway it is a nice solution. Althou I don't quiet understand wether should a publisher to be speaking one to many subscribers or this is like a net, graph with dependents.
However by the mediaserver do you mean a licode and stuff solution or a node.js instance? Or this should be a tandem node.js plus licode mediaserver?
from webrtc-scalable-broadcast.
Related Issues (20)
- who teacher could give us a sample for screen+audio on firefox. HOT 1
- error:HTTPs i.e. SSL-based URI is mandatory to use screen capturing. HOT 1
- how can i control which peer will be selected for a new joined partner.
- the received screen capture is slower 7 to 8 seconds than original screen
- bug report of webrtc-scalable-broadcast
- bug report of webrtc-scalable-broadcast
- why could not trigger leave event when webrtc-scalable broadcast webpage is closed HOT 1
- Multiple Broadcast Froze HOT 7
- How to change screen in the demo Scalable-Screen-Broadcast.
- why this demo doesn't work on Chrome / IOS or Chrome / Android HOT 3
- http to https in server.js?
- This used to work for me? HOT 2
- Unable to run node server on https HOT 2
- Does this still work when participants are using mobile devices? HOT 1
- screen sharing play
- Can we make this work in IE or Safari using Temasys Plugin?
- Streaming Applications
- Problem when runnings under https HOT 1
- Implement server using Express
- Go Live on Youtube, Facebook and Instagram HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webrtc-scalable-broadcast.