mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-11-01 11:32:42 +08:00
update gortsplib
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user