mirror of
https://github.com/livekit/livekit.git
synced 2026-04-08 11:55:40 +00:00
Max published layer callback in goroutine (#1472)
This commit is contained in:
@@ -155,7 +155,7 @@ func (s *StreamTrackerManager) AddTracker(layer int32) *streamtracker.StreamTrac
|
||||
s.lock.Unlock()
|
||||
|
||||
if onMaxPublishedLayerChanged != nil {
|
||||
onMaxPublishedLayerChanged(layer)
|
||||
go onMaxPublishedLayerChanged(layer)
|
||||
}
|
||||
|
||||
tracker.SetPaused(paused)
|
||||
|
||||
Reference in New Issue
Block a user