From 6179d5ef61cebbf78851eb3f308c5040ed8171e5 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Wed, 18 Jan 2023 07:32:36 +0530 Subject: [PATCH] webrtc_sendrecv.py: Use sine wave for audio instead of red-noise Makes it easier to notice when there's packet loss or other audio distortion. Part-of: --- subprojects/gst-examples/webrtc/sendrecv/gst/webrtc_sendrecv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-examples/webrtc/sendrecv/gst/webrtc_sendrecv.py b/subprojects/gst-examples/webrtc/sendrecv/gst/webrtc_sendrecv.py index cfea3b7..9878392 100755 --- a/subprojects/gst-examples/webrtc/sendrecv/gst/webrtc_sendrecv.py +++ b/subprojects/gst-examples/webrtc/sendrecv/gst/webrtc_sendrecv.py @@ -36,7 +36,7 @@ webrtcbin name=sendrecv bundle-policy=max-bundle stun-server=stun://stun.l.googl videotestsrc is-live=true pattern=ball ! videoconvert ! queue ! \ vp8enc deadline=1 keyframe-max-dist=2000 ! rtpvp8pay picture-id-mode=15-bit ! queue ! application/x-rtp,media=video,encoding-name=VP8,payload={vp8_pt} ! sendrecv. - audiotestsrc is-live=true wave=red-noise ! audioconvert ! audioresample ! queue ! opusenc ! rtpopuspay ! + audiotestsrc is-live=true ! audioconvert ! audioresample ! queue ! opusenc ! rtpopuspay ! queue ! application/x-rtp,media=audio,encoding-name=OPUS,payload={opus_pt} ! sendrecv. ''' -- 2.7.4