Giter Club home page Giter Club logo

Comments (4)

muaz-khan avatar muaz-khan commented on August 26, 2024

Please try this demo instead:

from webrtc-scalable-broadcast.

Globik avatar Globik commented on August 26, 2024

Is a webinar suit with that?

from webrtc-scalable-broadcast.

muaz-khan avatar muaz-khan commented on August 26, 2024

It isn't an ultimate solution however it can help as following:

  1. Webinar is initiated by a media server (broadcaster is streaming to server)
  2. Root-level nodes pulls stream from media server
  3. 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.

Globik avatar Globik commented on August 26, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.