Separate close and stop on MediaTrackSubscriptions. (#823)

This commit is contained in:
Raja Subramanian
2022-07-09 12:42:54 +05:30
committed by GitHub
parent 1e71343964
commit 01f7309adc
3 changed files with 6 additions and 2 deletions
+4
View File
@@ -93,6 +93,10 @@ func (t *MediaTrackSubscriptions) Restart() {
}
func (t *MediaTrackSubscriptions) Stop() {
t.stopMaxQualityTimer()
}
func (t *MediaTrackSubscriptions) Close() {
t.qualityNotifyOpQueue.Stop()
t.stopMaxQualityTimer()
}