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