kclyu / rpi-webrtc-streamer

This repo's objective is providing something like Web Cam server on the most popular Raspberry PI hardware. By integrating [WebRTC](https://webrtc.org/native-code/) and Raspberry PI, we can stream the Raspberry camera feed to browser or native client which talks WebRTC.
Other
629 stars 108 forks source link

Signaling server in the cloud #71

Closed tovil closed 5 years ago

tovil commented 5 years ago

Hi, I'm trying to move the signaling server to the cloud so webrtc-streamer and the web client will connect to the same endpoint in the cloud (e.g. example.com/ws).

I've tried to change rws_ws_url inside webrtc_streamer.conf and when I click on connect at the web, I get:

(websocket_server_callback.cc:167): Callback Handler is not found in URI: /rws/ws
(websocket_server_callback.cc:130): Callback Handler is not found in URI: /rws/ws

I assume that webrtc-streamer connects to its ws server internally? Can you point me to the relevant peace of code that I can change in order achieve my goal?

Thanks.

kclyu commented 5 years ago

uCibar is kind enough to explain the outline. If you need more, it may be helpful to googling WebRTC signaling related materials.

https://github.com/kclyu/rpi-webrtc-streamer/issues/69#issuecomment-476348111

tovil commented 5 years ago

Thanks, his bridge idea is nice. I'll try it.