refactor: frame converter and mp4 track improvements

- Refactor frame converter implementation
- Update mp4 track to use ICodex
- General refactoring and code improvements

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
langhuihui
2025-08-04 09:17:12 +08:00
parent b6ee2843b0
commit 8a9fffb987
262 changed files with 20831 additions and 12141 deletions

11
plugin/hls/pkg/codec.go Normal file
View File

@@ -0,0 +1,11 @@
package hls
import (
"m7s.live/v5/pkg"
mpegts "m7s.live/v5/pkg/format/ts"
)
type VideoCodecCtx struct {
pkg.IVideoCodecCtx
mpegts.MpegtsPESFrame
}