Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get incoming(join call) request promt alert in Azure communication service in React js for web, so that we can add "Admit" and "reject" option. #232

Open
anupsamanta opened this issue Jun 10, 2024 · 1 comment

Comments

@anupsamanta
Copy link

We have implemented video calling using Azure communication services . we are able to connect each others in video call automatically using room Id. But we need to implement "Admit", "Admit All" before the establishment of the connection and "Reject" functionality . Need assistance to implement this functionality .

How we can get notified a join call request. Which function should we use and where to use.

@JamesBurnside
Copy link
Contributor

Hi @anupsamanta , Rooms SDK does not have built in lobby functionality.
To create functionality for an admit feature your service would need to handle this in the backend.
You could, for example, have a flow that looks like:

  • User A and B are in the Rooms call
  • User C wishes to join
  • User C goes to your website and requests join
    • This would be via a custom endpoint unrelated to ACS. Your service would need an endpoint that would listen for such a request
  • Users A and B are notified that User C wishes to join
    • Again this would need to be via a custom push event to the clients A and B from your service
  • User A or B clicks admit
    • This would continue to be through custom endpoints on your service still unrelated to ACS
  • You service then follows it's regular flow for adding a user to the call using ACS Rooms SDK and adds User C to the room.

We don't have an end-to-end sample that incorporates this behavior today

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants