Reputation: 268
I've just set up janus and got it running.
I'm connecting to it, and can see in the janus logs:
[ERR] [transports/janus_http.c:janus_http_handler:1522] Invalid session (null)
I've looked online but can't find anything. Any ideas?
Upvotes: 5
Views: 1319
Reputation: 41
Just in case anyone has the same question. I got this error when I clicked the "start" button on janus demo page(videoroom.html) and an alert showed up something like "is the server down?".
I compared the janus demo's js script with the official testing website, I found they had replaced the HTTPS URL with wss. I uploaded a screenshot of the replaced part. Change it and everything works fine for me.
Ref:https://janus.conf.meetecho.com/docs/deploy.html official one
Upvotes: 3
Reputation: 268
ditched janus for a cloud service - eg Twilio - instead. IMO janus is not worth the hassle, and their dev community is detrimental to one's wellbeing. Avoid! – bionara just now Edit Delete
Upvotes: 2