Jump over wrong packets from RTSP

This commit is contained in:
Alexey Khit
2023-02-03 12:10:54 +03:00
parent 8cee4179f2
commit d21ce3d27d
2 changed files with 53 additions and 14 deletions
+2
View File
@@ -112,6 +112,8 @@ func rtspHandler(url string) (streamer.Producer, error) {
log.Trace().Msgf("[rtsp] client request:\n%s", msg)
case *tcp.Response:
log.Trace().Msgf("[rtsp] client response:\n%s", msg)
case string:
log.Trace().Msgf("[rtsp] client msg: %s", msg)
}
})
}