feat: 支持音频转码

This commit is contained in:
ydajiang
2025-07-03 17:27:45 +08:00
parent 7155b866c2
commit 67050bf9b9
15 changed files with 423 additions and 110 deletions

View File

@@ -219,7 +219,7 @@ func (t *transStream) WriteHeader() error {
n += size
t.sequenceHeader = t.sequenceHeader[:n]
t.MWBuffer = stream.NewMergeWritingBuffer(t.ExistVideo)
t.MWBuffer = stream.NewMergeWritingBuffer(t.HasVideo())
return nil
}