mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
make format.String() return MPEG4-audio in case of MPEG-4 audio (#300)
This commit is contained in:
@@ -100,7 +100,8 @@ func (f *MPEG4AudioGeneric) unmarshal(
|
||||
|
||||
// String implements Format.
|
||||
func (f *MPEG4AudioGeneric) String() string {
|
||||
return "MPEG4-audio-gen"
|
||||
// currently, String() returns the codec name, hence hide the format name.
|
||||
return "MPEG4-audio"
|
||||
}
|
||||
|
||||
// ClockRate implements Format.
|
||||
|
Reference in New Issue
Block a user