-
Notifications
You must be signed in to change notification settings - Fork 5
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
Understand Code Logic #9
Comments
sorry for the late reply.
Yes, but it is not necessary to add local track to the new created pc(if subscribe other publisher in the room only). |
So you are maintaining janusconnection class inside there’s a webrtc instance. |
in the new webrtc instance. here is my main logic:
I have not tried this, so I cant give you correct answer. |
Would you like to give a try if you have little time. I tried following your approach but fails. I don't have any server I just have firebase integrated. if possible else I am gonna scratch my head on this for sure. |
Can you elaborate your usecase? I highly suggest you to build your own janus server, it will help you to understand the way how WebRTC works, |
Mine issue 3 connected - I haven't used that publisher subscriber when ever a user tries to join the room, I get a callback from firebase for new user. I create new WebRTC object and set new offer JFYI, Peer 1 - Peer 2 connection works perfect no issues |
What do you mean?
I did not see any transport api related to |
I am using firebase as signaling service instead of sockets to communicate and using default STUN servers for p2p connection. |
Please pay the project website a visit specially the VideoRoom plugin. |
great topic, but you need to know this library work with Janus, so you need to learn how it's work with janus event first to compare with your logic code in Firebase as i know about this lib, each peerconnection require to handle audio. and video, but only localPeerConnection work with server, if you want to avoid this, just compare the handleID of peerconnection with handleID of roomJanus data |
@Meonardo if my explain wrong, please tech me about the problem, thanks |
You are not wrong, we can find the project site notice
and the project demo( Just for my understanding,
|
Can you please help me understand the core Logic of your app?
whenever a new user joins the same room.
are you creating a new Peer connection with local track as yours own track and remote Description of new user?
is it due to multiple users?
The text was updated successfully, but these errors were encountered: