do not show error message in case of EOF

This commit is contained in:
aler9 2020-05-10 21:37:44 +02:00
parent 2a89e41a69
commit 142bc9961c
1 changed files with 3 additions and 1 deletions

View File

@ -858,7 +858,9 @@ func (c *serverClient) handleRequest(req *gortsplib.Request) bool {
for {
frame, err := c.conn.ReadInterleavedFrame()
if err != nil {
if err != io.EOF {
c.log("ERR: %s", err)
}
return false
}