mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 06:58:49 +00:00
examples: webrtc: fix unidirectional pipeline
'autoaudiosrc' does not have a 'is-live' property. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3550>
This commit is contained in:
parent
a874c9f2d4
commit
cbab7ffefb
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ create_receiver_entry (SoupWebsocketConnection * connection)
|
||||||
"rtph264pay config-interval=-1 name=payloader aggregate-mode=zero-latency ! "
|
"rtph264pay config-interval=-1 name=payloader aggregate-mode=zero-latency ! "
|
||||||
"application/x-rtp,media=video,encoding-name=H264,payload="
|
"application/x-rtp,media=video,encoding-name=H264,payload="
|
||||||
RTP_PAYLOAD_TYPE " ! webrtcbin. "
|
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);
|
RTP_AUDIO_PAYLOAD_TYPE " ! webrtcbin. ", &error);
|
||||||
if (error != NULL) {
|
if (error != NULL) {
|
||||||
g_error ("Could not create WebRTC pipeline: %s\n", error->message);
|
g_error ("Could not create WebRTC pipeline: %s\n", error->message);
|
||||||
|
|
Loading…
Reference in a new issue