mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
make format.String() return MPEG4-audio in case of MPEG-4 audio (#300)
This commit is contained in:
@@ -21,7 +21,7 @@ func TestMPEG4AudioGenericAttributes(t *testing.T) {
|
||||
IndexLength: 3,
|
||||
IndexDeltaLength: 3,
|
||||
}
|
||||
require.Equal(t, "MPEG4-audio-gen", format.String())
|
||||
require.Equal(t, "MPEG4-audio", format.String())
|
||||
require.Equal(t, 48000, format.ClockRate())
|
||||
require.Equal(t, true, format.PTSEqualsDTS(&rtp.Packet{}))
|
||||
}
|
||||
|
Reference in New Issue
Block a user