Embark on a journey of knowledge! Take the quiz and earn valuable credits.
Take A QuizChallenge yourself and boost your learning! Start the quiz now to earn credits.
Take A QuizUnlock your potential! Begin the quiz, answer questions, and accumulate credits along the way.
Take A QuizKindly log in to use this feature. We’ll take you to the login page automatically.
LoginGeneral Tech Bugs & Fixes 3 years ago
User submissions are the sole responsibility of contributors, with TuteeHUB disclaiming liability for accuracy, copyrights, or consequences of use; content is for informational purposes only and not professional advice.
WebRTC is a P2P solution but it can be also a P2P connection from a publisher to server and many P2P connections from listeners to server. This is exactly what you need in your case.
There are 3 main WebRTC network topologies:
So in your case you definitely need some WebRTC server gateway, because you are going to have many listeners.
In your case maybe it's good to try Streaming capabilities as well.
I can recommend to try Janus WebRTC Gateway, especially 2 things:
No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
Kindly log in to use this feature. We’ll take you to the login page automatically.
LoginReady to take your education and career to the next level? Register today and join our growing community of learners and professionals.
Your experience on this site will be improved by allowing cookies. Read Cookie Policy
Your experience on this site will be improved by allowing cookies. Read Cookie Policy
manpreet
Best Answer
3 years ago
I've testing currently the Features of
WebRTC, but i have some brain-logic problems.What is WebRTC exactly?
I'm reading only "STUN", "P2P" and other... But what is WebRTC correctly in technical aspect (See the next)
What i need
I've searching for an specific solution. For sample here, a web radio:
One client send their microphone data to the server and other connected clients will be hear it. The Server need some features: Only one client can share their microphone data to other. All other clients are "muted", but other clients can request to send their data in future. Is the selected client finished, other's can send.
Clarify, what i need
No, i don't want to create a web radio; I want to create a "sing server". One user can select a song and sing with their microphone. Other clients can hear it. If the user finished their "song", others can request "here, i want to sing these song...".
It is possible with
WebRTC? Currently i think no, because, i thinkWebRTCis only a Peer-2-Peer solution. The server is not able to handle the direct audio data, but for my option i need it (i want it in the future, after the basisc are implemented, to modify the stream data to add some Features like voice effects). I've found some solutions withnode.jsbut i'm only found in the code the broadcasting of peers for the clients; The audio data will never reach the server.