<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Thanks Mathieu.<div><br></div><div>I had been working through the documentation, but the links to the signalling server and the API, from this section of the documentation you linked to, at <a href="https://gstreamer.freedesktop.org/documentation/rswebrtc/index.html">https://gstreamer.freedesktop.org/documentation/rswebrtc/index.html</a> are returning a 404 error.</div><div><br></div><div><p style="margin: 0px 0px 10px; font-variant-caps: normal; font-stretch: normal; font-size: 14px; line-height: normal; font-family: "Helvetica Neue Light"; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-kerning: none;"><b><i>rswebrtc</i></b></span></p>
<p style="margin: 0px; font-variant-caps: normal; font-stretch: normal; font-size: 14px; line-height: normal; font-family: "Helvetica Neue"; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-kerning: none"><i><b>(from gst-plugin-webrtc)</b></i></span></p>
<p style="margin: 0px 0px 10px; font-variant-caps: normal; font-stretch: normal; font-size: 14px; line-height: normal; font-family: "Helvetica Neue"; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-kerning: none"><b><i>All-batteries included GStreamer WebRTC producer and consumer, that try their best to do The Right Thing™.</i></b></span></p>
<p style="margin: 0px 0px 10px; font-variant-caps: normal; font-stretch: normal; font-size: 14px; line-height: normal; font-family: "Helvetica Neue"; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-kerning: none;"><b><i>It also provides a flexible and all-purposes WebRTC signalling server (<a href="https://gstreamer.freedesktop.org/documentation/signalling/src/bin/server.rs"><span style="font-variant-caps: normal; font-stretch: normal; line-height: normal; font-size-adjust: none; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; font-kerning: none;">gst-webrtc-signalling-server</span></a>) and a Javascript API (<a href="https://gstreamer.freedesktop.org/documentation/gstwebrtc-api"><span style="font-variant-caps: normal; font-stretch: normal; line-height: normal; font-size-adjust: none; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; font-kerning: none;">gstwebrtc-api</span></a>) to produce and consume compatible WebRTC streams from a web browser.</i></b></span></p><p style="margin: 0px 0px 10px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 14px; line-height: normal; font-family: "Helvetica Neue"; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">also, as referenced later in the documentation.</p></div><div>I suspect I will need to build or install this signalling server in order to proceed.</div><div><br></div><div>Many thanks again for your help, which is most appreciated :-)</div><div><br></div><div><br></div><div><div><blockquote type="cite"><div>On 4 Jul 2023, at 13:46, Mathieu Duponchelle <mathieu@centricular.com> wrote:</div><br class="Apple-interchange-newline"><div><div>These pipelines are simply incorrect, why don't you just read the<br>documentation that is provided?<br><br>https://gstreamer.freedesktop.org/documentation/rswebrtc/index.html?gi-language=c#usage<br><br><br>On Tue, 2023-07-04 at 13:37 +0100, GST Developer via gstreamer-devel<br>wrote:<br><blockquote type="cite">Many Thanks Matthieu !!!<br><br>Using ubuntu 22,04LTS, it takes a few quirks, such as not installing<br>meson with apt (since that gets 0.61.2 which causes an error later),<br>instead using <br>pip3 install --user meson==0.62.0<br>and later maybe editing a few files to stop hard coded links to<br>/usr/bin/meson from failing ‘;<br>Perhaps a few other tweaks, sorry I have done so many i dont have a<br>list<br>Then finally adding the path using export GST_PLUGIN_PATH<br><br>Finally, webrtcsink is available in gst-inspect-1.0 !!<br><br>However, I try an example found online: <br>gst-launch-1.0 videotestsrc ! video/x-<br>raw,width=1024,height=768,framerate=30/1 ! timeoverlay ! x264enc !<br>rtph264pay config-interval=1 pt=96 ! webrtcsink<br>and I get an error:<br>WARNING: erroneous pipeline: could not link rtph264pay0 to<br>rswebrtcsink0<br><br>realistically I guess really I want something more like this example<br>I found which seems to have some addressing info : <br>gst-launch-1.0 -v videotestsrc ! video/x-raw,width=640,height=480 !<br>x264enc ! rtph264pay ! application/x-rtp,media=video,encoding-<br>name=H264,payload=96 ! rswebrtcsink uri=ws://localhost:8080/stream<br>but this uses something called “rswebrtcsink”….which doesnt exist...<br><br>Ultimately what I would like is to run a gstreamer pipeline which<br>ends in a webrtcsink, so I can connect a browser directly, ideally<br>with the webrtcsink providing the encoding, the signalling,<br>everything needed to get the picture into the browser. Perhaps I<br>misunderstand the capabilities, but the various data I can find<br>suggests this is possible.<br><br>Could you advise a simple syntax to send a test audio and video<br>stream to a browser using webrtcsink ?<br><br>Many, many thanks for your help.<br><br><br><br><blockquote type="cite">On 4 Jul 2023, at 11:50, Mathieu Duponchelle<br><mathieu@centricular.com> wrote:<br><br>Compiling the webrtc crate after compiling gstreamer from source<br>and<br>entering the uninstalled environment should work, if you encounter<br>issues please file them on gitlab with steps to reproduce.<br><br>As for installing GStreamer with webrtcsink included, I don't know<br>if<br>distributions actually package gst-plugins-rs to be honest :)<br><br>On Mon, 2023-07-03 at 18:25 +0100, GST Developer via gstreamer-<br>devel<br>wrote:<br><blockquote type="cite">Hi Folks.<br><br>I am attempting to use WebRTCSink on Ubuntu 22.04 LTS, but<br>despite 2<br>days trial and error I have yet to find any way to install it.<br><br>I have tried following guidance for installation of all the plug<br>in<br>groups via apt install, and also compiling gstreamer from source,<br>but<br>whilst I can use webrtcbin, none of my attempts have yet found<br>webrtcsink to be available.<br><br>I also went down the root of trying to compile<br>from <br>https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/tree/m<br>ain/net/webrtc<br>but this tends to get hung up on now having the correct version<br>of<br>various gstreamer or other components.<br><br>Is there a simple way to install GStreamer with WebRTCSink<br>included ?<br><br>Many thanks for any clues !<br></blockquote></blockquote><br></blockquote></div></div></blockquote></div><br></div></body></html>