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
626 stars 108 forks source link

net::ERR_SSL_PROTOCOL_ERROR #137

Closed diybl closed 2 years ago

diybl commented 2 years ago

when i click the connect button

the js error shows this:

Error during connect wss://raspberrypi.local:8889/rws/ws, Event {isTrusted: true, type: 'error', target: WebSocket, currentTarget: WebSocket, eventPhase: 2, …} (anonymous) @ websocket_channel.mjs:87 error (async) (anonymous) @ websocket_channel.mjs:85 connect @ websocket_channel.mjs:59 connect @ streamer_controller.mjs:118 streamer_controller.mjs:170 Failed to connect: Error during connect wss://raspberrypi.local:8889/rws/ws (anonymous) @ streamer_controller.mjs:170 Promise.catch (async) connect @ streamer_controller.mjs:169 streamer_controller.mjs:177 Disconnecting

diybl commented 2 years ago

i modify the js file after replace wss to ws , the problem sovled.