I’ve got an own webrtc + websockets service for one by one video calling and realtime chat, but I’d like to try out Janus for extending the service with conference calls, replacing my previous code.
The current code works like this: when I send an API call to the websocket server, it makes a fastcgi call to the backend (PHP), then sends back it’s reply to the client. So it works as a proxy server.
My question is: can I use Janus’ websocket server like this? So when I send a specially formed websocket request from the browser to Janus websocket, then Janus recognizes it, calls my code, and sends back it’s reply? This way i could manage to have only one websocket connection from the client, not two.