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 QuizPlease log in to access this content. You will be redirected to the login page shortly.
LoginGeneral Tech Bugs & Fixes 2 years ago
Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for 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.
Please log in to access this content. You will be redirected to the login page shortly.
LoginReady to take your education and career to the next level? Register today and join our growing community of learners and professionals.
manpreet
Best Answer
2 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 thinkWebRTC
is 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.js
but i'm only found in the code the broadcasting of peers for the clients; The audio data will never reach the server.