From c8e79c9671a627e12a299adcf2beb19d28c71344 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Fri, 21 Feb 2020 14:01:58 +1100 Subject: [PATCH] webrtc-sendrecv.py: Add a stun server Fixes https://github.com/centricular/gstwebrtc-demos/issues/160 --- webrtc/sendrecv/gst/webrtc-sendrecv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/sendrecv/gst/webrtc-sendrecv.py b/webrtc/sendrecv/gst/webrtc-sendrecv.py index 88870b12ca..b19bc3fa6f 100644 --- a/webrtc/sendrecv/gst/webrtc-sendrecv.py +++ b/webrtc/sendrecv/gst/webrtc-sendrecv.py @@ -16,7 +16,7 @@ gi.require_version('GstSdp', '1.0') from gi.repository import GstSdp PIPELINE_DESC = ''' -webrtcbin name=sendrecv bundle-policy=max-bundle +webrtcbin name=sendrecv bundle-policy=max-bundle stun-server=stun://stun.l.google.com:19302 videotestsrc is-live=true pattern=ball ! videoconvert ! queue ! vp8enc deadline=1 ! rtpvp8pay ! queue ! application/x-rtp,media=video,encoding-name=VP8,payload=97 ! sendrecv. audiotestsrc is-live=true wave=red-noise ! audioconvert ! audioresample ! queue ! opusenc ! rtpopuspay !