mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
improve examples (#778)
This commit is contained in:
@@ -13,12 +13,12 @@ import (
|
||||
)
|
||||
|
||||
// This example shows how to
|
||||
// 1. set additional client options
|
||||
// 2. connect to a RTSP server, announce an H264 format
|
||||
// 3. generate dummy RGBA images
|
||||
// 4. encode images with H264
|
||||
// 5. generate RTP packets from H264
|
||||
// 6. write RTP packets to the server
|
||||
// 1. set additional client options.
|
||||
// 2. connect to a RTSP server, announce an H264 format.
|
||||
// 3. generate dummy RGBA images.
|
||||
// 4. encode images with H264.
|
||||
// 5. generate RTP packets from H264.
|
||||
// 6. write RTP packets to the server.
|
||||
|
||||
// This example requires the FFmpeg libraries, that can be installed with this command:
|
||||
// apt install -y libavcodec-dev libswscale-dev gcc pkg-config
|
||||
|
Reference in New Issue
Block a user