mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 07:37:07 +08:00
rtph264: return error in decoder if packetization-mode is 2 (#153)
This commit is contained in:
@@ -47,7 +47,9 @@ func main() {
|
||||
}
|
||||
|
||||
// setup RTP/H264->H264 decoder
|
||||
rtpDec := &rtph264.Decoder{}
|
||||
rtpDec := &rtph264.Decoder{
|
||||
PacketizationMode: track.PacketizationMode,
|
||||
}
|
||||
rtpDec.Init()
|
||||
|
||||
// setup H264->MPEGTS muxer
|
||||
|
Reference in New Issue
Block a user