mirror of
https://github.com/aler9/gortsplib
synced 2025-10-17 20:51:09 +08:00
store MPEG4AudioConfig inside TrackAAC instead of storing single fields
This commit is contained in:
@@ -50,7 +50,7 @@ func main() {
|
||||
|
||||
// setup decoder
|
||||
dec := &rtpaac.Decoder{
|
||||
SampleRate: aacTrack.SampleRate,
|
||||
SampleRate: aacTrack.Config.SampleRate,
|
||||
SizeLength: aacTrack.SizeLength,
|
||||
IndexLength: aacTrack.IndexLength,
|
||||
IndexDeltaLength: aacTrack.IndexDeltaLength,
|
||||
|
Reference in New Issue
Block a user