improve examples (#778)

This commit is contained in:
Alessandro Ros
2025-05-04 17:00:18 +02:00
committed by GitHub
parent 4e3c5e6c0d
commit cc0c96626c
55 changed files with 494 additions and 435 deletions

View File

@@ -13,11 +13,11 @@ import (
)
// This example shows how to
// 1. connect to a RTSP server, announce an AV1 format
// 2. generate dummy RGBA images
// 3. encode images with AV1
// 4. generate RTP packets from AV1
// 5. write RTP packets to the server
// 1. connect to a RTSP server, announce an AV1 format.
// 2. generate dummy RGBA images.
// 3. encode images with AV1.
// 4. generate RTP packets from AV1.
// 5. 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