feat: downlad flv format from mp4 record file

This commit is contained in:
langhuihui
2025-06-03 16:52:35 +08:00
parent 86b9969954
commit dbf820b845
7 changed files with 1054 additions and 401 deletions

View File

@@ -61,10 +61,8 @@ func (p *RecordReader) Run() (err error) {
defer func() {
allocator.Recycle()
}()
if publisher != nil {
publisher.OnGetPosition = func() time.Time {
return realTime
}
publisher.OnGetPosition = func() time.Time {
return realTime
}
for loop := 0; loop < p.Loop; loop++ {