mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
add MP4A-LATM decoder and encoder (#299)
This commit is contained in:
@@ -45,7 +45,10 @@ func main() {
|
||||
}
|
||||
|
||||
// setup RTP/H264 -> H264 decoder
|
||||
rtpDec := forma.CreateDecoder()
|
||||
rtpDec, err := forma.CreateDecoder2()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
// setup H264 -> MPEG-TS muxer
|
||||
mpegtsMuxer, err := newMPEGTSMuxer(forma.SPS, forma.PPS)
|
||||
|
Reference in New Issue
Block a user