simplify examples (#493)

This commit is contained in:
Alessandro Ros
2024-01-01 19:56:40 +01:00
committed by GitHub
parent 013a8d8463
commit bcd17a992c
8 changed files with 28 additions and 20 deletions

View File

@@ -52,8 +52,9 @@ func main() {
// setup H264 -> MPEG-TS muxer
mpegtsMuxer := &mpegtsMuxer{
sps: forma.SPS,
pps: forma.PPS,
fileName: "mystream.ts",
sps: forma.SPS,
pps: forma.PPS,
}
mpegtsMuxer.initialize()
if err != nil {