mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
simplify examples (#493)
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user