Re: How can I install WebRTCSink on Ubuntu 22.04
GST Developer via gstreamer-devel <[email protected]>
| Newsgroups | gmane.comp.video.gstreamer.devel |
|---|---|
| Message-ID | <[email protected]> |
Is this a camelCase vs snake_case issue with “peer_id” vs “peerID” ?
The js api stuff is working fine,browser to browser, interacting with the signalling server, but the webrtcsink doesnt seem to like the message coming back from the signalling server.
> Thanks for your guidance Mathieu !!!
>
> I have been able to work through the documentation you linked to and have been able to build the gst-plugins-rs components and get 2/3rd of the example running.
> Referring to the 3 shell windows mentioned here:
> https://gstreamer.freedesktop.org/documentation/rswebrtc/index.html?gi-language=c#usage
> The first shell is working - the signalling server appears to be running
> The second shell is working, the gstwebrtc-api appears to be running a webserver, and I can connect to the page on port 9090 with a web gui showing a potential “start capture” and a “remote streams” section
> However, The third does not work:
> gst-launch-1.0 webrtcsink name=ws meta="meta,name=gst-stream" videotestsrc ! ws. audiotestsrc ! ws.
> attempts to start, and I can see it has contacted the signalling server, but it fails with the error sequence below:
>
>
> ERROR: from element /GstPipeline:pipeline0/RsWebRTCSink:ws: GStreamer encountered a general stream error.
> Additional debug info:
> plugins/src/webrtcsink/imp.rs(1240): webrtcsink::webrtcsink::imp (): /GstPipeline:pipeline0/RsWebRTCSink:ws:
> Signalling error: Unknown message from server: {"type":"welcome","peerId":"384ad93b-1089-4fb8-93f9-8a3e9ed709ba"}
>