mirror of
https://github.com/livekit/livekit.git
synced 2026-08-14 11:29:47 +00:00
It is possible that pipe is closed before blank frame send, do not warn (#1807)
This commit is contained in:
@@ -1194,7 +1194,9 @@ func (d *DownTrack) writeBlankFrameRTP(duration float32, generation uint32) chan
|
||||
|
||||
pktSize, err := writeBlankFrame(&hdr, frameEndNeeded)
|
||||
if err != nil {
|
||||
d.logger.Warnw("could not write blank frame", err)
|
||||
if err != io.ErrClosedPipe {
|
||||
d.logger.Warnw("could not write blank frame", err)
|
||||
}
|
||||
close(done)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user