mirror of
https://github.com/aler9/gortsplib
synced 2025-10-22 06:39:28 +08:00
add Track.String() method
This commit is contained in:
@@ -14,6 +14,7 @@ func TestTrackH264Attributes(t *testing.T) {
|
||||
PPS: []byte{0x03, 0x04},
|
||||
PacketizationMode: 1,
|
||||
}
|
||||
require.Equal(t, "H264", track.String())
|
||||
require.Equal(t, 90000, track.ClockRate())
|
||||
require.Equal(t, "", track.GetControl())
|
||||
require.Equal(t, []byte{0x01, 0x02}, track.SafeSPS())
|
||||
|
Reference in New Issue
Block a user