mirror of
https://github.com/aler9/gortsplib
synced 2025-10-17 12:40:45 +08:00
use named constant for MPEG4-audio object type
This commit is contained in:
@@ -13,7 +13,7 @@ func TestTrackMPEG4AudioAttributes(t *testing.T) {
|
||||
track := &TrackMPEG4Audio{
|
||||
PayloadType: 96,
|
||||
Config: &mpeg4audio.Config{
|
||||
Type: 2,
|
||||
Type: mpeg4audio.ObjectTypeAACLC,
|
||||
SampleRate: 48000,
|
||||
ChannelCount: 2,
|
||||
},
|
||||
@@ -29,7 +29,7 @@ func TestTrackMPEG4AudioClone(t *testing.T) {
|
||||
track := &TrackMPEG4Audio{
|
||||
PayloadType: 96,
|
||||
Config: &mpeg4audio.Config{
|
||||
Type: 2,
|
||||
Type: mpeg4audio.ObjectTypeAACLC,
|
||||
SampleRate: 48000,
|
||||
ChannelCount: 2,
|
||||
},
|
||||
@@ -47,7 +47,7 @@ func TestTrackMPEG4AudioMediaDescription(t *testing.T) {
|
||||
track := &TrackMPEG4Audio{
|
||||
PayloadType: 96,
|
||||
Config: &mpeg4audio.Config{
|
||||
Type: 2,
|
||||
Type: mpeg4audio.ObjectTypeAACLC,
|
||||
SampleRate: 48000,
|
||||
ChannelCount: 2,
|
||||
},
|
||||
|
Reference in New Issue
Block a user