mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
support h264 tracks with extradata in sprop-parameter-sets
This commit is contained in:
@@ -36,7 +36,7 @@ func main() {
|
||||
fmt.Println("stream connected")
|
||||
|
||||
// create an H264 track
|
||||
track, err := gortsplib.NewTrackH264(96, sps, pps)
|
||||
track, err := gortsplib.NewTrackH264(96, sps, pps, nil)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user