Rust version: Error during WebSocket handshake


Looks like something with WebSocket handshake is missing in rust mediasoup version.

I tried flutter client GitHub - Blancduman/mediasoup_client_flutter_example: Demo app for mediasoup_client_flutter.

And started websocket with ‘wss://’ without problems.
But running with 'ws://localhost:3000/ws" echo or videoroom cant even start websocket.

html_dart2js.dart:31775 WebSocket connection to 'ws://localhost:3000/ws?roomId=8927097d-7da5-4c15-9ea4-810f2bafb8b8&peerId=ODTBdRY H’ failed: Error during WebSocket handshake: Sent non-empty ‘Sec-WebSocket-Protocol’ header but no response was received`

Any idea why?

Thanks in advance.

mediasoup demo at is a separate independent application.

Rust examples are not supposed to be compatible in any way, there is rust/examples-frontend in the repo where you have frontend examples that correspond 1 to 1 to backend ones, try those.