diff --git a/examples/client-publish-aac/main.go b/examples/client-publish-aac/main.go index 33089558..ebdb6bb6 100644 --- a/examples/client-publish-aac/main.go +++ b/examples/client-publish-aac/main.go @@ -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") diff --git a/examples/client-publish-h264/main.go b/examples/client-publish-h264/main.go index 01f7fcd9..8602bc87 100644 --- a/examples/client-publish-h264/main.go +++ b/examples/client-publish-h264/main.go @@ -10,9 +10,9 @@ import ( ) // This example shows how to -// 1. generate RTP/H264 packets with Gstreamer +// 1. generate RTP/H264 packets with GStreamer // 2. connect to a RTSP server, announce an H264 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/H264 packets @@ -22,7 +22,7 @@ func main() { } defer pc.Close() - log.Println("Waiting for a RTP/H264 stream on UDP port 9000 - you can send one with Gstreamer:\n" + + log.Println("Waiting for a RTP/H264 stream on UDP port 9000 - you can send one with GStreamer:\n" + "gst-launch-1.0 videotestsrc ! video/x-raw,width=1920,height=1080" + " ! x264enc speed-preset=veryfast tune=zerolatency bitrate=600000" + " ! rtph264pay ! udpsink host=127.0.0.1 port=9000") diff --git a/examples/client-publish-options/main.go b/examples/client-publish-options/main.go index e9bb8e09..92067640 100644 --- a/examples/client-publish-options/main.go +++ b/examples/client-publish-options/main.go @@ -12,7 +12,7 @@ import ( // This example shows how to // 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 an H264 track // 4. write the frames to the server diff --git a/examples/client-publish-opus/main.go b/examples/client-publish-opus/main.go index 36ba16f7..9fe93b9b 100644 --- a/examples/client-publish-opus/main.go +++ b/examples/client-publish-opus/main.go @@ -9,9 +9,9 @@ import ( ) // This example shows how to -// 1. generate RTP/Opus packets with Gstreamer +// 1. generate RTP/Opus packets with GStreamer // 2. connect to a RTSP server, announce an Opus 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/Opus packets @@ -21,7 +21,7 @@ func main() { } defer pc.Close() - log.Println("Waiting for a RTP/Opus stream on UDP port 9000 - you can send one with Gstreamer:\n" + + log.Println("Waiting for a RTP/Opus 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" + " ! opusenc" + " ! rtpopuspay ! udpsink host=127.0.0.1 port=9000") diff --git a/examples/client-publish-pause/main.go b/examples/client-publish-pause/main.go index 867846c7..f781090d 100644 --- a/examples/client-publish-pause/main.go +++ b/examples/client-publish-pause/main.go @@ -11,7 +11,7 @@ import ( ) // 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 an H264 track // 3. write the frames to the server for 5 seconds // 4. pause for 5 seconds