mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
use named constant for MPEG4-audio object type
This commit is contained in:
@@ -38,7 +38,7 @@ func main() {
|
||||
track := &gortsplib.TrackMPEG4Audio{
|
||||
PayloadType: 96,
|
||||
Config: &mpeg4audio.Config{
|
||||
Type: 2,
|
||||
Type: mpeg4audio.ObjectTypeAACLC,
|
||||
SampleRate: 48000,
|
||||
ChannelCount: 2,
|
||||
},
|
||||
|
Reference in New Issue
Block a user