mirror of
https://github.com/aler9/gortsplib
synced 2025-10-01 05:22:22 +08:00
improve examples (#778)
This commit is contained in:
@@ -14,11 +14,11 @@ import (
|
||||
)
|
||||
|
||||
// This example shows how to
|
||||
// 1. connect to a RTSP server, announce a MPEG-4 Audio (AAC) format
|
||||
// 2. generate dummy LPCM audio samples
|
||||
// 3. encode audio samples with MPEG-4 Audio (AAC)
|
||||
// 3. generate RTP packets from MPEG-4 Audio units
|
||||
// 4. write RTP packets to the server
|
||||
// 1. connect to a RTSP server, announce a MPEG-4 Audio (AAC) format.
|
||||
// 2. generate dummy LPCM audio samples.
|
||||
// 3. encode audio samples with MPEG-4 Audio (AAC).
|
||||
// 3. generate RTP packets from MPEG-4 Audio units.
|
||||
// 4. write RTP packets to the server.
|
||||
|
||||
// This example requires the FFmpeg libraries, that can be installed with this command:
|
||||
// apt install -y libavcodec-dev gcc pkg-config
|
||||
|
Reference in New Issue
Block a user