mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
add Track.String() method
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
|
||||
func TestTrackPCMUAttributes(t *testing.T) {
|
||||
track := &TrackPCMU{}
|
||||
require.Equal(t, "PCMU", track.String())
|
||||
require.Equal(t, 8000, track.ClockRate())
|
||||
require.Equal(t, "", track.GetControl())
|
||||
}
|
||||
|
Reference in New Issue
Block a user