update gortsplib

This commit is contained in:
aler9
2022-06-24 17:00:28 +02:00
parent 40aa24a6d8
commit 41b08c9f50
11 changed files with 66 additions and 71 deletions

View File

@@ -79,10 +79,12 @@ func (p *clientAudioProcessor) doProcess(
p.trackInitialized = true
track := &gortsplib.TrackAAC{
PayloadType: 96,
Type: pkt.Type,
SampleRate: pkt.SampleRate,
ChannelCount: pkt.ChannelCount,
PayloadType: 96,
Config: &aac.MPEG4AudioConfig{
Type: pkt.Type,
SampleRate: pkt.SampleRate,
ChannelCount: pkt.ChannelCount,
},
SizeLength: 13,
IndexLength: 3,
IndexDeltaLength: 3,