uday
uday

Reputation: 19

Failed to set remote answer sdp: Failed to apply the description for m= section with mid='0': Failed to set SSL role for the transport

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

Answers (1)

Biju Kalanjoor
Biju Kalanjoor

Reputation: 552

IceGathering is a parallel process, Also you should check Jan-Ivar Bruaroey Perfect Negotiation

This will clear your queries.

Upvotes: 1

Related Questions