Bump up stream allocator event queue size (#700)
This probably needs more work - Maybe some events should not be queued - Reduce number of events Bump up the size any way so that the queue does not overflow when subscribing to a lot of tracks.
This commit is contained in:
@@ -184,7 +184,7 @@ func NewStreamAllocator(params StreamAllocatorParams) *StreamAllocator {
|
||||
Logger: params.Logger,
|
||||
}),
|
||||
videoTracks: make(map[livekit.TrackID]*Track),
|
||||
eventCh: make(chan Event, 20),
|
||||
eventCh: make(chan Event, 200),
|
||||
}
|
||||
|
||||
s.resetState()
|
||||
|
||||
Reference in New Issue
Block a user