问题
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