mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-04 23:32:44 +08:00
rtsp, rtmp: fix ignored errors
This commit is contained in:
@@ -177,7 +177,7 @@ func (s *rtspSource) runInner() bool {
|
||||
Tracks: conn.Tracks(),
|
||||
})
|
||||
if res.Err != nil {
|
||||
s.log(logger.Info, "ERR: %s", err)
|
||||
s.log(logger.Info, "ERR: %s", res.Err)
|
||||
return true
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user