WebRTC Demo issue

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

WebRTC Demo issue

Andrew Silby

Dear All,

I’m trying to get the WebRTC demo to work. It seems to work fine until I try and run webrtc-sendrecv  with the peer-id created from the webrtc.js. I get the following response:

 

Connecting to server...

< HTTP/1.1 6 TLS/SSL support not available; install glib-networking

< Soup-Debug-Timestamp: 1522508396

< Soup-Debug: SoupMessage 0 (0x22bd8c0)

 

The server did not accept the WebSocket handshake.

 

(webrtc-sendrecv:27034): GStreamer-CRITICAL **: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed

Pipeline stopped

 

(webrtc-sendrecv:27034): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed

 

I assume that it cannot find glib-networking although it is installed. Any help greatly appreciated.

 

Cheers,

Andy


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: WebRTC Demo issue

Nirbheek Chauhan
On Sat, Mar 31, 2018 at 8:34 PM, Andrew Silby <[hidden email]> wrote:
> I assume that it cannot find glib-networking although it is installed. Any
> help greatly appreciated.
>

Which OS are you using? If Linux, which distro? Where are you getting
GStreamer from? Is it via your distro, through Cerbero, or
gst-uninstalled or something else?

What version of glib-networking do you have? Do you have the gnutls
gio module provided by glib-networking installed and available? On my
system it's at /usr/lib64/gio/modules/libgiognutls.so

libsoup only outputs that message when it fails to find a TLS
implementation, which is usually provided by the gnutls gio module.

Cheers,
Nirbheek
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: WebRTC Demo issue

Andrew Silby
Hi Nirbheek,

Thanks for getting back to me.

I’m using linux Ubuntu 16.04.1. I build GStreamer manually from the source. libgiognutls.so is found at: /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so. The version is 2.48.2-1~ubuntu16.04.1).

Let me know if I can provide any more info.

Cheers,
Andy


Sent from my iPad

> On 31 Mar 2018, at 08:54, Nirbheek Chauhan <[hidden email]> wrote:
>
>> On Sat, Mar 31, 2018 at 8:34 PM, Andrew Silby <[hidden email]> wrote:
>> I assume that it cannot find glib-networking although it is installed. Any
>> help greatly appreciated.
>>
>
> Which OS are you using? If Linux, which distro? Where are you getting
> GStreamer from? Is it via your distro, through Cerbero, or
> gst-uninstalled or something else?
>
> What version of glib-networking do you have? Do you have the gnutls
> gio module provided by glib-networking installed and available? On my
> system it's at /usr/lib64/gio/modules/libgiognutls.so
>
> libsoup only outputs that message when it fails to find a TLS
> implementation, which is usually provided by the gnutls gio module.
>
> Cheers,
> Nirbheek
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: WebRTC Demo issue

Nirbheek Chauhan
On Sun, Apr 1, 2018 at 1:57 AM, Andrew Silby <[hidden email]> wrote:
> Hi Nirbheek,
>
> Thanks for getting back to me.
>
> I’m using linux Ubuntu 16.04.1. I build GStreamer manually from the source. libgiognutls.so is found at: /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so. The version is 2.48.2-1~ubuntu16.04.1).
>

The corresponding code in libsoup that emits this error is:

https://git.gnome.org/browse/libsoup/tree/libsoup/soup-session.c#n1548

So you should investigate if those functions return the same values
when compiling a test program manually, and if they do, something is
broken on your system. If not, you need to check if the same glib is
being used by the test program and by gstreamer, and so on.

Hope that helps.

Nirbheek
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel