Getting `onConnectionChange FAILED` error from the flutter's janus_client.

65 views
Skip to first unread message

Pavel Shvetsov

unread,
Jun 27, 2022, 3:48:13 AM6/27/22
to meetecho-janus
I've installed the Janus server https://185.87.194.121:8189/janus/info with default configs according to the readme's guide and it works properly for the Javascript client only. It doesn't work with this fluter client https://pub.dev/packages/janus_client which returns `D/FlutterWebRTCPlugin(11066): onConnectionChange FAILED`.

Meanwhile, the same flutter client works fine with your demo server https://janus.conf.meetecho.com/janus/info. I'd like to understand how I should configure my Janus instance to be able to work with both clients.

Can you please help me?

Thank you.

Lorenzo Miniero

unread,
Jun 27, 2022, 4:22:38 AM6/27/22
to meetecho-janus
First of all, don't enable https directly in Janus, use a proxy instead: https://janus.conf.meetecho.com/docs/deploy

L.

Alessandro Toppi

unread,
Jun 27, 2022, 6:05:39 AM6/27/22
to meetecho-janus
First you should understand why the PC is failing.
Here some things to check:
- which candidates are being exchanged ?
- is ICE succeeding?
- is DTLS succeeding?

Pavel Shvetsov

unread,
Jun 27, 2022, 7:41:45 AM6/27/22
to meetecho-janus
used proxy; still the same result;

maybe you can share the janus congis, if its possilbe (wo sercurity creds of course)

thank you!

Pavel Shvetsov

unread,
Jul 4, 2022, 11:45:46 AM7/4/22
to meetecho-janus
what do you mean "PC is falling"?
i described all the details i can provide here https://github.com/flutterjanus/flutter_janus_client/issues/72
Reply all
Reply to author
Forward
0 new messages