mirror of
https://github.com/livekit/livekit.git
synced 2026-10-22 15:22:30 +00:00
It is possible that pipe is closed before blank frame send, do not warn (#1807)
This commit is contained in:
1 parent
f11a7a229f
commit
27051e9999
1 file changed
+3
-1
@@ -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