mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 23:26:54 +08:00
update docs
This commit is contained in:
@@ -15,7 +15,7 @@ import (
|
|||||||
// 1. set additional client options
|
// 1. set additional client options
|
||||||
// 2. generate RTP/H264 frames from a file with Gstreamer
|
// 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 a H264 track
|
||||||
// 4. write the frames of the track
|
// 4. write the frames to the server
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
// open a listener to receive RTP/H264 frames
|
// open a listener to receive RTP/H264 frames
|
||||||
|
@@ -14,7 +14,7 @@ import (
|
|||||||
// This example shows how to
|
// This example shows how to
|
||||||
// 1. generate RTP/H264 frames from a file with Gstreamer
|
// 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 a H264 track
|
||||||
// 3. write the frames of the track for 5 seconds
|
// 3. write the frames to the server for 5 seconds
|
||||||
// 4. pause for 5 seconds
|
// 4. pause for 5 seconds
|
||||||
// 5. repeat
|
// 5. repeat
|
||||||
|
|
||||||
|
@@ -13,7 +13,7 @@ import (
|
|||||||
// This example shows how to
|
// This example shows how to
|
||||||
// 1. generate RTP/H264 frames from a file with Gstreamer
|
// 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 a H264 track
|
||||||
// 3. write the frames of the track
|
// 3. write the frames to the server
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
// open a listener to receive RTP/H264 frames
|
// open a listener to receive RTP/H264 frames
|
||||||
|
Reference in New Issue
Block a user