mirror of
https://github.com/aler9/gortsplib
synced 2025-10-04 14:52:46 +08:00
add MP4A-LATM decoder and encoder (#299)
This commit is contained in:
@@ -45,7 +45,10 @@ func main() {
|
||||
}
|
||||
|
||||
// create decoder
|
||||
rtpDec := forma.CreateDecoder()
|
||||
rtpDec, err := forma.CreateDecoder2()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
// setup a single media
|
||||
_, err = c.Setup(medi, baseURL, 0, 0)
|
||||
|
Reference in New Issue
Block a user