This story assumes you have installed Janus on EC2 (or anywhere). If not, you can follow the steps mentioned here before getting started.

There are several reasons, you would want an HTTP connection to your Janus instance. WebRTC on your browser would need an HTTPS website to give you access to getUserMedia() and in turn, all popular browsers enforce an HTTP to HTTPS connection which means if your chat application (UI) is on an HTTPS connection it cannot make an HTTP call to Janus backend. This implies Janus also needs to be exposed through HTTPS.

The context of this story…

Shouvik S Mazumdar

The Visual Studio of a HyperActive Mind…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store