Yeshan Jay
Yeshan Jay

Reputation: 1413

Twilio Video - Call participant to join video call

I'm kinda new to Twilio.

I'm having trouble trying to get the participant to join a video call (room) by notifying him via a phone call.

All I know is when Participant 'A' creates a room 'TestRoomName' to have a one-to-one video call with Participant 'B', 'B' must know what the room name is to connect or otherwise be notified that he has to join.

But is there a way to implement in such a way that 'B' gets a call once 'A' creates a room, and upon B's answer, he joins the room?

Upvotes: 2

Views: 1774

Answers (1)

philnash
philnash

Reputation: 73029

Twilio developer evangelist here.

Programmable Video doesn't actually include a mechanism for inviting users to rooms, only to make rooms that are available to those users only.

You need to build your own notification method to connect the users. I'd recommend checking out Twilio Notify for performing cross platform notifications. Then, when you create the room you can also trigger a notification to the other user and send the name of the room in the notification's data, so that when they react to the notification they can join the room.

Let me know if that helps at all.

Upvotes: 3

Related Questions