fix potential timing issue with order sequencing

This commit is contained in:
David Zhao
2021-04-16 00:43:55 -07:00
parent 540d1c2e8c
commit 04f6b61ae1
+2 -2
View File
@@ -151,8 +151,8 @@ func (t *PCTransport) handleNegotiate() {
return
}
t.onOffer(offer)
// indicate waiting for client
t.negotiationState.Store(negotiationStateClient)
t.onOffer(offer)
}