mirror of
https://github.com/aler9/gortsplib
synced 2025-10-29 17:51:50 +08:00
add server-h264-save-to-disk example
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
"github.com/asticode/go-astits"
|
||||
)
|
||||
|
||||
// mpegtsEncoder allows to encode H264 NALUs into MPEG-TS.
|
||||
// mpegtsEncoder allows to save a H264 stream into a MPEG-TS file.
|
||||
type mpegtsEncoder struct {
|
||||
sps []byte
|
||||
pps []byte
|
||||
|
||||
Reference in New Issue
Block a user