merge MPEG4AudioGeneric and MPEG4AudioLATM (#430)

This commit is contained in:
Alessandro Ros
2023-09-21 16:51:31 +02:00
committed by GitHub
parent fabc0e7e69
commit 44da79f72d
37 changed files with 801 additions and 940 deletions

View File

@@ -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{}