use named constant for MPEG4-audio object type

This commit is contained in:
aler9
2022-11-14 16:50:21 +01:00
parent 8fc6bf35ae
commit ae0df8d4c9
6 changed files with 14 additions and 14 deletions

View File

@@ -59,7 +59,7 @@ func TestClientReadTracks(t *testing.T) {
track2 := &TrackMPEG4Audio{
PayloadType: 96,
Config: &mpeg4audio.Config{
Type: 2,
Type: mpeg4audio.ObjectTypeAACLC,
SampleRate: 44100,
ChannelCount: 2,
},
@@ -71,7 +71,7 @@ func TestClientReadTracks(t *testing.T) {
track3 := &TrackMPEG4Audio{
PayloadType: 96,
Config: &mpeg4audio.Config{
Type: 2,
Type: mpeg4audio.ObjectTypeAACLC,
SampleRate: 96000,
ChannelCount: 2,
},