mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 23:26:54 +08:00
change track initialization method
This commit is contained in:
@@ -46,7 +46,7 @@ func main() {
|
||||
}
|
||||
|
||||
// setup H264->MPEGTS encoder
|
||||
enc, err := newMPEGTSEncoder(h264track.SPS(), h264track.PPS())
|
||||
enc, err := newMPEGTSEncoder(h264track.SafeSPS(), h264track.SafePPS())
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user