fix potential timing issue with order sequencing
This commit is contained in:
@@ -151,8 +151,8 @@ func (t *PCTransport) handleNegotiate() {
|
||||
return
|
||||
}
|
||||
|
||||
t.onOffer(offer)
|
||||
|
||||
// indicate waiting for client
|
||||
t.negotiationState.Store(negotiationStateClient)
|
||||
|
||||
t.onOffer(offer)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user