Greetings all,
Is there a way to check if session is active or not. I want to use this feature to let participant in to the meeting after a publisher has published the meeting.
If I didn’t do this, any participant can start a meeting (Which I don’t want them to)
Thanks.
Hello,
-
You MUST have a back-end API (in production)
-
Call the OpenVidu REST API ‘Retrieve active session info’ method from your back-end API (CURL, whatever…)
https://docs.openvidu.io/en/2.15.0/reference-docs/REST-API/#get-apisessionsltsession_idgt
- Profit?
Check the HTTP response code and send it over from your back-end to your front-end and allow the participant to join or not according to that
Regards,
Mihail
2 Likes
Thank you so much for the information