mirror of
https://github.com/livekit/livekit.git
synced 2026-06-09 15:02:16 +00:00
Log of down track write stop. (#3087)
This commit is contained in:
@@ -1266,6 +1266,7 @@ func (d *DownTrack) SeedState(state DownTrackState) {
|
||||
}
|
||||
|
||||
func (d *DownTrack) StopWriteAndGetState() DownTrackState {
|
||||
d.params.Logger.Debugw("stopping write")
|
||||
d.bindLock.Lock()
|
||||
d.writable.Store(false)
|
||||
d.writeStopped.Store(true)
|
||||
|
||||
Reference in New Issue
Block a user