WebRTC -Raspberry Pi issue

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

WebRTC -Raspberry Pi issue

Goksel Sahin
Hi,
I'm trying get the  WebRTC demo
<https://github.com/centricular/gstwebrtc-demos>   to work on raspberry. I
build gstreamer from source. Gstreamer version 1.14.3
I run webrtc-sendrecv with peer-id --server ws://0.0.0.0:8443 and python3
simple-server.py --disable-ssl. I get following response:
Connecting to server...

> GET  HTTP/1.1
> Soup-Debug-Timestamp: 1539179222
> Soup-Debug: SoupSession 1 (0x2b9098), SoupMessage 1 (0x16b5f0), SoupSocket
> 1 (0x72d4c0)
> Host: 0.0.0.0:8443
> Upgrade: websocket
> Connection: Upgrade
> Sec-WebSocket-Key: NeFtkLD7M7G77BbuxwkFsw==
> Sec-WebSocket-Version: 13
> Accept-Encoding: gzip, deflate
> Connection: Keep-Alive
 
< HTTP/1.1 500 Internal Server Error
< Soup-Debug-Timestamp: 1539179222
< Soup-Debug: SoupMessage 1 (0x16b5f0)
< Date: Wed, 10 Oct 2018 13:47:02 GMT
< Server: Python/3.5 websockets/6.0
< Content-Length: 37
< Content-Type: text/plain
< Connection: close
<
< See server log for more information.
 
The server did not accept the WebSocket handshake.

(webrtc-sendrecv:28254): GLib-CRITICAL **: g_main_loop_unref: assertion
'loop != NULL' failed

--
Thanks




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

Re: WebRTC -Raspberry Pi issue

Matthew Waters
Urm, 0.0.0.0 isn't probably the address you wanted. Try 127.0.0.1 instead.

On 11/10/18 12:52 am, Goksel Sahin wrote:

> Hi,
> I'm trying get the  WebRTC demo
> <https://github.com/centricular/gstwebrtc-demos>   to work on raspberry. I
> build gstreamer from source. Gstreamer version 1.14.3
> I run webrtc-sendrecv with peer-id --server ws://0.0.0.0:8443 and python3
> simple-server.py --disable-ssl. I get following response:
> Connecting to server...
>> GET  HTTP/1.1
>> Soup-Debug-Timestamp: 1539179222
>> Soup-Debug: SoupSession 1 (0x2b9098), SoupMessage 1 (0x16b5f0), SoupSocket
>> 1 (0x72d4c0)
>> Host: 0.0.0.0:8443
>> Upgrade: websocket
>> Connection: Upgrade
>> Sec-WebSocket-Key: NeFtkLD7M7G77BbuxwkFsw==
>> Sec-WebSocket-Version: 13
>> Accept-Encoding: gzip, deflate
>> Connection: Keep-Alive
>  
> < HTTP/1.1 500 Internal Server Error
> < Soup-Debug-Timestamp: 1539179222
> < Soup-Debug: SoupMessage 1 (0x16b5f0)
> < Date: Wed, 10 Oct 2018 13:47:02 GMT
> < Server: Python/3.5 websockets/6.0
> < Content-Length: 37
> < Content-Type: text/plain
> < Connection: close
> <
> < See server log for more information.
>  
> The server did not accept the WebSocket handshake.
>
> (webrtc-sendrecv:28254): GLib-CRITICAL **: g_main_loop_unref: assertion
> 'loop != NULL' failed
>
> --
> Thanks

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

signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: WebRTC -Raspberry Pi issue

Goksel Sahin
I try 127.0.0.1 and localhost but same problem.

pi@raspberrypi:~/gstwebrtc-demos/sendrecv/gst $ ./webrtc-sendrecv --peer-id
1877 --server ws://127.0.0.1:8443
Connecting to server...

> GET  HTTP/1.1
> Soup-Debug-Timestamp: 1539242437
> Soup-Debug: SoupSession 1 (0x818098), SoupMessage 1 (0x6ca5f0), SoupSocket
> 1 (0xc8c498)
> Host: 127.0.0.1:8443
> Upgrade: websocket
> Connection: Upgrade
> Sec-WebSocket-Key: WHsGVVDbBlDuRT0+SZQiaA==
> Sec-WebSocket-Version: 13
> Accept-Encoding: gzip, deflate
> Connection: Keep-Alive
 
< HTTP/1.1 500 Internal Server Error
< Soup-Debug-Timestamp: 1539242437
< Soup-Debug: SoupMessage 1 (0x6ca5f0)
< Date: Thu, 11 Oct 2018 07:20:37 GMT
< Server: Python/3.5 websockets/6.0
< Content-Length: 37
< Content-Type: text/plain
< Connection: close
<
< See server log for more information.
 
The server did not accept the WebSocket handshake.

(webrtc-sendrecv:2861): GLib-CRITICAL **: g_main_loop_unref: assertion 'loop
!= NULL' failed



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

RE: WebRTC -Raspberry Pi issue

Michael Zak
In reply to this post by Goksel Sahin
Hi,

I have the same issue on one Ubuntu 16,
other PCs with the same Ubuntu 16  do not have this issue.[apparently
something was different in installation procedures]

Michael


-----Original Message-----
From: gstreamer-devel [mailto:[hidden email]]
On Behalf Of Goksel Sahin
Sent: Wednesday, October 10, 2018 4:53 PM
To: [hidden email]
Subject: WebRTC -Raspberry Pi issue

Hi,
I'm trying get the  WebRTC demo
<https://github.com/centricular/gstwebrtc-demos>   to work on raspberry. I
build gstreamer from source. Gstreamer version 1.14.3
I run webrtc-sendrecv with peer-id --server ws://0.0.0.0:8443 and python3
simple-server.py --disable-ssl. I get following response:
Connecting to server...

> GET  HTTP/1.1
> Soup-Debug-Timestamp: 1539179222
> Soup-Debug: SoupSession 1 (0x2b9098), SoupMessage 1 (0x16b5f0), SoupSocket
> 1 (0x72d4c0)
> Host: 0.0.0.0:8443
> Upgrade: websocket
> Connection: Upgrade
> Sec-WebSocket-Key: NeFtkLD7M7G77BbuxwkFsw==
> Sec-WebSocket-Version: 13
> Accept-Encoding: gzip, deflate
> Connection: Keep-Alive

< HTTP/1.1 500 Internal Server Error
< Soup-Debug-Timestamp: 1539179222
< Soup-Debug: SoupMessage 1 (0x16b5f0)
< Date: Wed, 10 Oct 2018 13:47:02 GMT
< Server: Python/3.5 websockets/6.0
< Content-Length: 37
< Content-Type: text/plain
< Connection: close
<
< See server log for more information.

The server did not accept the WebSocket handshake.

(webrtc-sendrecv:28254): GLib-CRITICAL **: g_main_loop_unref: assertion
'loop != NULL' failed

--
Thanks




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
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 -Raspberry Pi issue

Goksel Sahin
I rebuild libsoup from source and it worked.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel