Reset channel observer in resetState (#449)

* Reset channel observer in resetState

* Spelling fix
This commit is contained in:
Raja Subramanian
2022-02-20 20:52:17 +05:30
committed by GitHub
parent 1e459e91cc
commit f209e9319a
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -242,6 +242,7 @@ func (s *StreamAllocator) SetTrackPriority(downTrack *DownTrack, priority uint8)
}
func (s *StreamAllocator) resetState() {
s.channelObserver.Reset()
s.resetProbe()
s.state = StateStable