mirror of
https://github.com/livekit/livekit.git
synced 2026-10-23 19:32:41 +00:00
Max published layer callback in goroutine (#1472)
This commit is contained in:
1 parent
9a05fc529a
commit
207c97c4b9
1 file changed
+1
-1
@@ -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