sfu-ws: Error when SetLocalDescription
kisasexypantera94 opened this issue · comments
Hi, i'm running sfu-ws example and have this error when second user is connecting:
InvalidModificationError: invalid proposed signaling state transition: have-local-offer->SetLocal(offer)->have-local-offer
It happens here:
example-webrtc-applications/sfu-ws/main.go
Line 162 in 811ebe7
Found my answer in #pion slack channel. So the error means that I haven’t finished last round of negotiation - this makes sense because calls to setLocal and setRemote are concurrent