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()
|
s.lock.Unlock()
|
||||||
|
|
||||||
if onMaxPublishedLayerChanged != nil {
|
if onMaxPublishedLayerChanged != nil {
|
||||||
onMaxPublishedLayerChanged(layer)
|
go onMaxPublishedLayerChanged(layer)
|
||||||
}
|
}
|
||||||
|
|
||||||
tracker.SetPaused(paused)
|
tracker.SetPaused(paused)
|
||||||
|
|||||||
Reference in New Issue
Block a user