diff --git a/examples/client-publish-format-h264/main.go b/examples/client-publish-format-h264/main.go index 8f3bf4bd..1d41c5ce 100644 --- a/examples/client-publish-format-h264/main.go +++ b/examples/client-publish-format-h264/main.go @@ -25,7 +25,7 @@ func main() { 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=ultrafast bitrate=6000 key-int-max=60" + + " ! x264enc speed-preset=ultrafast bitrate=3000 key-int-max=60" + " ! video/x-h264,profile=high" + " ! rtph264pay ! udpsink host=127.0.0.1 port=9000") diff --git a/examples/client-publish-format-h265/main.go b/examples/client-publish-format-h265/main.go index 546f3439..9c399ef7 100644 --- a/examples/client-publish-format-h265/main.go +++ b/examples/client-publish-format-h265/main.go @@ -25,7 +25,7 @@ func main() { log.Println("Waiting for a RTP/H265 stream on UDP port 9000 - you can send one with GStreamer:\n" + "gst-launch-1.0 videotestsrc ! video/x-raw,width=1920,height=1080" + - " ! x265enc speed-preset=ultrafast tune=zerolatency bitrate=6000" + + " ! x265enc speed-preset=ultrafast tune=zerolatency bitrate=3000" + " ! rtph265pay config-interval=1 ! udpsink host=127.0.0.1 port=9000") // wait for first packet