add client-play-format-h264-mpeg4audio-save-to-disk example (#230) (#582)

This commit is contained in:
Alessandro Ros
2024-06-21 23:01:46 +02:00
committed by GitHub
parent 13d994d77a
commit 3ee5fbdcf7
11 changed files with 299 additions and 19 deletions

View File

@@ -110,5 +110,5 @@ func (e *mpegtsMuxer) writeH265(au [][]byte, pts time.Duration) error {
}
// encode into MPEG-TS
return e.w.WriteH26x(e.track, durationGoToMPEGTS(pts), durationGoToMPEGTS(dts), isRandomAccess, au)
return e.w.WriteH265(e.track, durationGoToMPEGTS(pts), durationGoToMPEGTS(dts), isRandomAccess, au)
}