Browse Source

do not show error message in case of EOF

pull/31/head
aler9 5 years ago
parent
commit
142bc9961c
  1. 4
      server-client.go

4
server-client.go

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

Loading…
Cancel
Save