-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I have multiple transmitters and listeners at the same time? #9
Comments
Of course, it's true that the example is about one presenter into multiple streamer by saving the Well, maybe like saving the You can use SocketIO and send it just like chatting, but if you care about server performance you will need to build media router on lower level language like C, Rust, or Golang. The current library version will need every streamer to receive the first buffer because it contain the media header, and then everyone can play the audio. But currently I'm stuck with the video stream 😅 (out of workaround), I can use WASM to take full control but I have no time to work alone. Anyway thanks for using the library, I'm also using this for developing a social media. |
So @StefansArya have I got this right. You can have 1 presenter start a stream. When someone connects they receive the header and can listen and also talk at the same time? Or do they also need to send out a header to the presenter to talk? But from what I can tell, you can only set one buffer header (setBufferHeader) or does that concatenate? |
Yes you will need one presenter to start a stream, but it's one way communication only. Someone who receive the buffer header can only listen to presenter who created it, just like a radio. Usually one user will need to create 1 Well, let's say user A,B,C is going to do a group call. User A receive User B receive Now user B can talk each other with user A and can listen to user C, but user C still can't listen to user A and B because he also need to receive Maybe I should add more example for this library, but sadly I need to finish some business outside 😅 |
Hello, I have been following your project for a long time. I find it very interesting, I was using it to transmit live audio but only unilaterally (one transmitter and multiple listeners).
Now I want to go to the next level, I try to have multiple emitters and listeners at the same time.
That the user is an audio transmitter and receiver at the same time, and that they also listen to what other users are emitting something like discord
Is it possible to do this with your project?
And if so, how could I do it?
Thank you for giving us this project, which is really very useful.
The text was updated successfully, but these errors were encountered: