do not show error message in case of EOF
This commit is contained in:
parent
2a89e41a69
commit
142bc9961c
|
@ -858,7 +858,9 @@ func (c *serverClient) handleRequest(req *gortsplib.Request) bool {
|
||||||
for {
|
for {
|
||||||
frame, err := c.conn.ReadInterleavedFrame()
|
frame, err := c.conn.ReadInterleavedFrame()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
c.log("ERR: %s", err)
|
if err != io.EOF {
|
||||||
|
c.log("ERR: %s", err)
|
||||||
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue