Merge branch 'main' of github.com:orestonce/m3u8d

main
orestonce 2022-08-06 09:13:28 +08:00
commit e15aa5d18a
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ func MergeTsFileListToSingleMp4(req MergeTsFileListToSingleMp4_Req) (err error)
return
}
if cid == mpeg2.TS_STREAM_AAC {
audioTimestamp = pts
codec.SplitAACFrame(frame, func(aac []byte) {
if aacSampleRate == -1 {
adts := codec.NewAdtsFrameHeader()