update docs

This commit is contained in:
aler9
2021-08-25 23:28:07 +02:00
parent d744a2e0d3
commit 359409aaf9
5 changed files with 11 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ import (
// This example shows how to
// 1. generate RTP/H264 frames from a file with Gstreamer
// 2. connect to a RTSP server, announce a H264 track
// 2. connect to a RTSP server, announce an H264 track
// 3. write the frames to the server for 5 seconds
// 4. pause for 5 seconds
// 5. repeat
@@ -36,7 +36,7 @@ func main() {
}
fmt.Println("stream connected")
// create a H264 track
// create an H264 track
track, err := gortsplib.NewTrackH264(96, &gortsplib.TrackConfigH264{sps, pps})
if err != nil {
panic(err)