mirror of
https://github.com/aler9/gortsplib
synced 2025-10-29 01:33:00 +08:00
fix track.clone() (https://github.com/aler9/rtsp-simple-server/issues/808)
This commit is contained in:
12
track_aac.go
12
track_aac.go
@@ -126,11 +126,13 @@ func (t *TrackAAC) AOTSpecificConfig() []byte {
|
||||
|
||||
func (t *TrackAAC) clone() Track {
|
||||
return &TrackAAC{
|
||||
control: t.control,
|
||||
payloadType: t.payloadType,
|
||||
sampleRate: t.sampleRate,
|
||||
channelCount: t.channelCount,
|
||||
mpegConf: t.mpegConf,
|
||||
control: t.control,
|
||||
payloadType: t.payloadType,
|
||||
typ: t.typ,
|
||||
sampleRate: t.sampleRate,
|
||||
channelCount: t.channelCount,
|
||||
aotSpecificConfig: t.aotSpecificConfig,
|
||||
mpegConf: t.mpegConf,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user