Split ICE candidate queue. (#2885)
Shared ICE candidate queue meant only one of PUBLISHER/SUBSCRIBER pc got final candidate notification. Split the queue.
This commit is contained in:
@@ -191,7 +191,7 @@ type ParticipantImpl struct {
|
||||
*UpTrackManager
|
||||
*SubscriptionManager
|
||||
|
||||
icQueue atomic.Pointer[webrtc.ICECandidate]
|
||||
icQueue [2]atomic.Pointer[webrtc.ICECandidate]
|
||||
|
||||
// keeps track of unpublished tracks in order to reuse trackID
|
||||
unpublishedTracks []*livekit.TrackInfo
|
||||
|
||||
Reference in New Issue
Block a user