Commit f01674fe authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Don't complain on ErrClosedPipe.

parent 77b2e6e1
......@@ -316,7 +316,7 @@ func addUpConn(c *client, id string) (*upConnection, error) {
continue
}
err := l.track.WriteRTP(&packet)
if err != nil {
if err != nil && err != io.ErrClosedPipe {
log.Printf("%v", err)
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment