flutterjanus / flutter_janus_client

A plugin that allows the flutter app to communicate with a Janus server using different transport mechanisms, such as WebSocket and HTTP(rest). It features a developer-friendly api to interact with various WebRTC Janus Plugins. Hence, it can be considered as a swiss-knife for WebRTC solutions.
MIT License
134 stars 76 forks source link

use wss connect fail. #170

Closed zzxap closed 3 weeks ago

zzxap commented 1 month ago

'janus_ws': 'wss://xxx:8189/ws', connect fail. the server is ok

'janus_ws': 'ws://xxx:8188/ws', this is ok

ws = WebSocketJanusTransport(url: servermap['janus_ws']);

not support wss?

shivanshtalwar commented 1 month ago

Your default ws url is invalid it should be

wss://127.0.0.1:8188

Not with path /ws