mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-11 20:01:35 +00:00
webrtc-sendrecv.py: Add a stun server
Fixes https://github.com/centricular/gstwebrtc-demos/issues/160
This commit is contained in:
parent
d2236266dc
commit
c8e79c9671
1 changed files with 1 additions and 1 deletions
|
@ -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 !
|
||||
|
|
Loading…
Reference in a new issue