mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
fix GStreamer capitalization
This commit is contained in:
@@ -9,9 +9,9 @@ import (
|
||||
)
|
||||
|
||||
// This example shows how to
|
||||
// 1. generate RTP/AAC packets with Gstreamer
|
||||
// 1. generate RTP/AAC packets with GStreamer
|
||||
// 2. connect to a RTSP server, announce an AAC track
|
||||
// 3. route the packets from Gstreamer to the server
|
||||
// 3. route the packets from GStreamer to the server
|
||||
|
||||
func main() {
|
||||
// open a listener to receive RTP/AAC packets
|
||||
@@ -21,7 +21,7 @@ func main() {
|
||||
}
|
||||
defer pc.Close()
|
||||
|
||||
log.Println("Waiting for a RTP/AAC stream on UDP port 9000 - you can send one with Gstreamer:\n" +
|
||||
log.Println("Waiting for a RTP/AAC stream on UDP port 9000 - you can send one with GStreamer:\n" +
|
||||
"gst-launch-1.0 audiotestsrc freq=300 ! audioconvert ! audioresample ! audio/x-raw,rate=48000" +
|
||||
" ! avenc_aac bitrate=128000" +
|
||||
" ! rtpmp4gpay ! udpsink host=127.0.0.1 port=9000")
|
||||
|
Reference in New Issue
Block a user