gst webrtc problem

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

gst webrtc problem

Trevor Clarke
I'm running on osx High Sierra. Local built gstreamer 1.14.0.
I'm trying to test webrtc with centricular/gstwebrtc-demos  master hash 61f49793ed099d165694b3cfb8e8943a7b77723f

I build the app and view the browser component at https://webrtc.nirbheek.in/. I run the app with the generated peer id. And I get an error and segfault.

./webrtc-sendrecv --peer-id 8385

Connecting to server...

> GET  HTTP/1.1

> Soup-Debug-Timestamp: 1523898255

> Soup-Debug: SoupSession 1 (0x7fcf3f874100), SoupMessage 1 (0x7fcf4104f8e0), SoupSocket 1 (0x7fcf4005e280)

> Host: webrtc.nirbheek.in:8443

> Upgrade: websocket

> Connection: Upgrade

> Sec-WebSocket-Key: 7HNVppwkBWwvs3Wtti9JNA==

> Sec-WebSocket-Version: 13

> Accept-Encoding: gzip, deflate

  

< HTTP/1.1 101 Switching Protocols

< Soup-Debug-Timestamp: 1523898255

< Soup-Debug: SoupMessage 1 (0x7fcf4104f8e0)

< Server: Python/3.5 websockets/3.3

< Upgrade: WebSocket

< Connection: Upgrade

< Sec-WebSocket-Accept: 31SsZyeEAXb8xPNl3+lHa0af518=

  

Connected to signalling server

Registering id 1954 with server

Registered with server

Setting up signalling server call with 8385

Starting pipeline


(webrtc-sendrecv:31544): GLib-GObject-CRITICAL **: 13:04:15.517: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed


(webrtc-sendrecv:31544): GLib-CRITICAL **: 13:04:15.517: g_once_init_leave: assertion 'result != 0' failed


** (webrtc-sendrecv:31544): CRITICAL **: 13:04:15.517: file gstwebrtcbin.c: line 2585 (gst_webrtc_bin_set_local_description): should not be reached

Segmentation fault: 11


GST_DEBUG=4 output available here (1400 lines): https://filebin.net/kr15phopdl5bxwdw/out.txt

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

Re: gst webrtc problem

Matthew Waters
These criticals would indicate a problem with your setup.  i.e. built libraries not being used over installed libraries.

Try running ldd over the .so files to see where things are being picked up.

Does 'gst-inspect-1.0 webrtcbin' print useful information?

Cheers
-Matt

On 17/04/18 03:04, Trevor Clarke wrote:
I'm running on osx High Sierra. Local built gstreamer 1.14.0.
I'm trying to test webrtc with centricular/gstwebrtc-demos  master hash 61f49793ed099d165694b3cfb8e8943a7b77723f

I build the app and view the browser component at https://webrtc.nirbheek.in/. I run the app with the generated peer id. And I get an error and segfault.

./webrtc-sendrecv --peer-id 8385

Connecting to server...

> GET  HTTP/1.1

> Soup-Debug-Timestamp: 1523898255

> Soup-Debug: SoupSession 1 (0x7fcf3f874100), SoupMessage 1 (0x7fcf4104f8e0), SoupSocket 1 (0x7fcf4005e280)

> Host: webrtc.nirbheek.in:8443

> Upgrade: websocket

> Connection: Upgrade

> Sec-WebSocket-Key: 7HNVppwkBWwvs3Wtti9JNA==

> Sec-WebSocket-Version: 13

> Accept-Encoding: gzip, deflate

  

< HTTP/1.1 101 Switching Protocols

< Soup-Debug-Timestamp: 1523898255

< Soup-Debug: SoupMessage 1 (0x7fcf4104f8e0)

< Server: Python/3.5 websockets/3.3

< Upgrade: WebSocket

< Connection: Upgrade

< Sec-WebSocket-Accept: 31SsZyeEAXb8xPNl3+lHa0af518=

  

Connected to signalling server

Registering id 1954 with server

Registered with server

Setting up signalling server call with 8385

Starting pipeline


(webrtc-sendrecv:31544): GLib-GObject-CRITICAL **: 13:04:15.517: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed


(webrtc-sendrecv:31544): GLib-CRITICAL **: 13:04:15.517: g_once_init_leave: assertion 'result != 0' failed


** (webrtc-sendrecv:31544): CRITICAL **: 13:04:15.517: file gstwebrtcbin.c: line 2585 (gst_webrtc_bin_set_local_description): should not be reached

Segmentation fault: 11


GST_DEBUG=4 output available here (1400 lines): https://filebin.net/kr15phopdl5bxwdw/out.txt

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

signature.asc (499 bytes) Download Attachment