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

@@ -12,7 +12,7 @@ import (
// This example shows how to
// 1. set additional client options
// 2. generate RTP/H264 frames from a file with Gstreamer
// 3. connect to a RTSP server, announce a H264 track
// 3. connect to a RTSP server, announce an H264 track
// 4. write the frames to the server
func main() {
@@ -35,7 +35,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)