mirror of
https://github.com/aler9/gortsplib
synced 2025-10-19 05:24:44 +08:00
rtph264: return error in decoder if packetization-mode is 2 (#153)
This commit is contained in:
@@ -79,7 +79,9 @@ func (sh *serverHandler) OnAnnounce(ctx *gortsplib.ServerHandlerOnAnnounceCtx) (
|
||||
}
|
||||
|
||||
// setup RTP/H264->H264 decoder
|
||||
rtpDec := &rtph264.Decoder{}
|
||||
rtpDec := &rtph264.Decoder{
|
||||
PacketizationMode: h264track.PacketizationMode,
|
||||
}
|
||||
rtpDec.Init()
|
||||
|
||||
// setup H264->MPEGTS muxer
|
||||
|
Reference in New Issue
Block a user