简体   繁体   English

Twilio视频-呼叫参加者加入视频通话

[英]Twilio Video - Call participant to join video call

I'm kinda new to Twilio . 我对Twilio有点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. 我所知道的是,当参与者“ A”创建会议室“ TestRoomName”与参与者“ B”进行一对一的视频通话时,“ B”必须知道要连接的会议室名称,否则会被告知他已经加入。

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? 但是,是否有一种实现方式,使得一旦“ A”创建了会议室,“ B”就会接到呼叫,并且在B的回答下,他加入了会议室?

Twilio developer evangelist here. Twilio开发人员布道者在这里。

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. 我建议您检查一下Twilio通知,以执行跨平台通知。 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. 让我知道是否有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM