From cbab7ffefbfe005b3323da12527116eba95a6cff Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 9 Dec 2022 13:49:44 +0100 Subject: [PATCH] examples: webrtc: fix unidirectional pipeline 'autoaudiosrc' does not have a 'is-live' property. Part-of: --- .../gst-examples/webrtc/sendonly/webrtc-unidirectional-h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-examples/webrtc/sendonly/webrtc-unidirectional-h264.c b/subprojects/gst-examples/webrtc/sendonly/webrtc-unidirectional-h264.c index 593d86141a..ef52f416bb 100644 --- a/subprojects/gst-examples/webrtc/sendonly/webrtc-unidirectional-h264.c +++ b/subprojects/gst-examples/webrtc/sendonly/webrtc-unidirectional-h264.c @@ -243,7 +243,7 @@ create_receiver_entry (SoupWebsocketConnection * connection) "rtph264pay config-interval=-1 name=payloader aggregate-mode=zero-latency ! " "application/x-rtp,media=video,encoding-name=H264,payload=" RTP_PAYLOAD_TYPE " ! webrtcbin. " - "autoaudiosrc is-live=1 ! queue max-size-buffers=1 leaky=downstream ! audioconvert ! audioresample ! opusenc ! rtpopuspay pt=" + "autoaudiosrc ! queue max-size-buffers=1 leaky=downstream ! audioconvert ! audioresample ! opusenc ! rtpopuspay pt=" RTP_AUDIO_PAYLOAD_TYPE " ! webrtcbin. ", &error); if (error != NULL) { g_error ("Could not create WebRTC pipeline: %s\n", error->message);