create new subscriber datatrack after migration (#600)
* use negotiated data channel in migration case * create subscriber data track after migration * fix participant state update * add participant leave log * update protocol
This commit is contained in:
@@ -334,6 +334,7 @@ func (r *Room) RemoveParticipant(identity livekit.ParticipantIdentity) {
|
||||
p.OnDataPacket(nil)
|
||||
|
||||
// close participant as well
|
||||
r.Logger.Infow("closing participant for removal", "participantID", p.ID())
|
||||
_ = p.Close(true)
|
||||
|
||||
r.lock.RLock()
|
||||
|
||||
Reference in New Issue
Block a user