Reputation: 19
So this is how my code works Peer A will join the room and when Peer B joins the same room
so the error is happening while peer B is setting the received offer to its remote description and then the whole cycle begins, it turns into a loop from step 1.
Does anyone know why it happens, i am facing it while using any browser.
Edit: Followed Biju Kalanjoor's answer and implemented signaling in the perfect negotiation way and it worked.
Upvotes: 1
Views: 2057
Reputation: 552
IceGathering is a parallel process, Also you should check Jan-Ivar Bruaroey Perfect Negotiation
This will clear your queries.
Upvotes: 1