move redirect support into Describe()

This commit is contained in:
aler9
2020-11-30 14:19:41 +01:00
parent 98ec483fdd
commit 0dade36cb1
8 changed files with 139 additions and 84 deletions

View File

@@ -36,7 +36,7 @@ func main() {
fmt.Println("stream connected")
// create a H264 track
track, err := gortsplib.NewTrackH264(0, sps, pps)
track, err := gortsplib.NewTrackH264(96, sps, pps)
if err != nil {
panic(err)
}