mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
merge MPEG4AudioGeneric and MPEG4AudioLATM (#430)
This commit is contained in:
@@ -92,11 +92,8 @@ func Unmarshal(mediaType string, payloadType uint8, rtpMap string, fmtp map[stri
|
||||
case codec == "vorbis":
|
||||
return &Vorbis{}
|
||||
|
||||
case codec == "mpeg4-generic":
|
||||
return &MPEG4AudioGeneric{}
|
||||
|
||||
case codec == "mp4a-latm":
|
||||
return &MPEG4AudioLATM{}
|
||||
case codec == "mpeg4-generic", codec == "mp4a-latm":
|
||||
return &MPEG4Audio{}
|
||||
|
||||
case payloadType == 14:
|
||||
return &MPEG1Audio{}
|
||||
|
Reference in New Issue
Block a user