mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-05 07:36:57 +08:00
rtmp: do not raise an error in case of metadata packets (#577)
This commit is contained in:
@@ -241,9 +241,6 @@ func (s *rtmpSource) runInner() bool {
|
||||
for _, byts := range bytss {
|
||||
onFrame(audioTrackID, byts)
|
||||
}
|
||||
|
||||
default:
|
||||
return fmt.Errorf("ERR: unexpected packet: %v", pkt.Type)
|
||||
}
|
||||
}
|
||||
}()
|
||||
|
Reference in New Issue
Block a user