Hi everyone,
I am new to the Twilio API. I have successfully setup call conferencing and recording. But my requirement is to stream live conference call from website. Is it possible...? I have been searching in google from 2 days but no use. Please help...
Twilio developer evangelist here.
You can't exactly stream a conference call, but you could use Twilio Client to provide a way for users on a website to dial into the conference. You can then mute all of those callers so they are effectively just listening.
Do note that you can only get 40 participants on a call using Conference and up to 250 using Global Conference.
Let me know if this helps at all.
Related
I played around a lot now and still can't figure out if there is a way of starting a conference via the API.
What do I want to achieve:
I would like to set up a conference, keep all participants still listening to music and than start that conference on a button press.
After reading the documentation about the conference API, I saw you can update the conference object status:
https://www.twilio.com/docs/voice/api/conference-resource?code-sample=code-update-a-conference-to-end-it&code-language=Ruby&code-sdk-version=5.x
The update to end the conference works fine (the example):
conference = #client.conferences('CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
.update(status: 'completed')
But as soon as I try to use .update(status: 'in-progress') to start the conference i get:
in-progress is not a valid choice
https://www.twilio.com/docs/errors/20001
The documentation sounds like you are able to do it:
The new status of the resource. Can be: Can be: init, in-progress, or completed. Specifying completed will end the conference and hang up all participants
Do I miss something?
Yes there are more than 2 calls connected, both of them with 'startConferenceOnEnter' set to false.
Twilio developer evangelist here.
You can use the REST API to generate a call to your client.
The URL you pass to this call should point to an endpoint on your server that will return the TwiML to start the conference:
<Response>
<Dial><Conference>{insert Conference room name}</Conference></Dial>
<Response>
During this request where you return the conference call TwiML, you can also kick off a new request to start a call to the phone number you want to dial using Twilio's REST API as mentioned here using curl.
Alternatively, you could maybe do it with Twilio Studio like this.
Let me know if this helps at all!
It seems Twilio Programmable Video API is based on WebRTC. This will allow us to setup audio/video conference from browser/app to browser/app.
However, is there any way to connect Programmable Voice incoming audio calls to the Video rooms? Also is there any way to make outgoing Voice calls from the Rooms?
This will allow a participant to just dial-in even if his internet is not working.
Twilio developer evangelist here.
It is not currently possible, using the Video SDK, to dial into a Video Group Room from an audio call over the phone network. If that changes I will update this answer.
Creating a service involving broadcasting video from one to many, similar to twitch.tv. Can twilio handle this?
Twilio developer evangelist here.
Twilio Video is not designed to broadcast one to many like Twitch. The maximum number of participants in a Twilio Video Group Room is 50 and for a peer to peer Room is 10.
Edit:
Twilio has launched Twilio Live, which is designed for broadcast use-cases. Check it out to see if it works for you.
We are currently developing an autodialler using twilio - we are using conferences. The call center operator will be sitting in a conference room and then calls are initiated via twilios rest api and then moved into the conference. We are not wanting to record the entire conference but just the calls within the conference. We will be transferring calls as part of this but when we transfer to a third party we want to ensure this isn't recorded. Is there a way to stop recording with Twilio.
Twilio developer evangelist here.
There isn't an API native way to stop the recording of a conference part way through. What I'd recommend here is that, when you want to initiate the call to the third party to bring them into the conference, also initiate a couple of requests the use the Twilio API to redirect the current calls into a new, non-recording conference and direct the third party into that conference instead.
Let me know if that helps at all.
I'm looking at Twilio's API documentation for Record and wanted some clarification.
1) I saw that transcribe currently is limited to recordings of 2 minutes, so if I set Transcribe to true, if the call goes on longer than 2 minutes there won't be a transcript but the recording will be saved?
2) Is it possible to just dial a number and record the audio without having to be connected to an "agent"?
Twilio developer evangelist here.
Yes, you're right. The recording will still be saved and you will receive a warning written to your debug log. You can transcribe entire calls up to 4 hours long using a couple of add-ons that are available in the Twilio add-on marketplace.
There are a number of ways to record a call.
<Record> in TwiML
<Dial record> in TwiML
<Conference record> in TwiML
Record=true in Outbound REST API
Enabling recording on elastic SIP Trunk in Console
If you are looking to record a whole call, then setting Record=true when creating a call.
If you are doing this for an incoming call, then you can't record the entire call, but that's where setting record on <Dial> or <Conference> or using the <Record> element comes into play. <Dial> or <Conference> likely include an agent, so <Record> is still what you're looking for here.
Let me know if that helps at all.