Twilio Video - Connecting muted Programmable Voice calls?

白昼怎懂夜的黑 提交于 2021-02-11 13:55:04

问题


I'm currently working on building an application using Twilio's Programmable Video. I've demonstrated the voice dial-in (Connect -> Room) for users want to dial in without a web browser. We've got a requirement for "listening in" - this is achievable with those users running through a browser (ie: don't send audio/video streams) but we've been unable to find a way to connect a Programmable Voice user through without including their audio. Any ideas?

Possible thoughts I've had, but been unable to build a solution for:

  • incoming call, stream the audio from the Programmable Video instead?
  • bridge onto a conference call, then mute the participants?
  • outgoing call -> connect to room and call into a conference, again with muted participants?

Thanks in advance for any help :)


回答1:


Twilio developer evangelist here.

I'm not sure you can currently connect a voice call to a video room without sending an audio stream.

On the other hand, you have the power in the Video SDK and the client side to mute the audio from the voice call too by never playing the media stream from the listener to any of the other participants. If you don't attach the media stream to the DOM, then it will never play.

Does that help at all?



来源:https://stackoverflow.com/questions/58203642/twilio-video-connecting-muted-programmable-voice-calls

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!