E
E
elyourn2016-09-28 15:56:38
JavaScript
elyourn, 2016-09-28 15:56:38

WebRTC. Why does Failed to set local answer sdp: Called in wrong state: STATE_INPROGRESS error appear?

When I try to connect again, I get an error:

Failed to set local answer sdp: Called in wrong state: STATE_INPROGRESS

As far as I understand - due to the fact that the peer is created, if so, how to reuse it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
elyourn, 2016-09-29
@elyourn

The problem was that the handlers were not deleted when they were called again, respectively, they were duplicated, as a result, the offer was sent several times.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question