We are using Twilio chat in one of our website and some users are asking if it is possible to record audio recordings to be sent as chat messages (like it happens on Whatsapp and other chatting App).
Does Twilio API support this kind of messages ?
Twilio developer evangelist here.
Twilio Chat supports the upload and sharing of media of all types to a maximum of 150MB size. You will need to implement the audio recording for your app, but once you've done that you can share over the chat platform.
Related
I use Twilio to deliver audio messages with VOIP, and I don't require any voice input. But By default on the first call the system asks for Microphone access permission.
How to remove this permission accesss, I don't neeed it.
I'm on iOS and using Objective-c.
Thanks !
Twilio developer evangelist here.
The Programmable Voice SDK for iOS is intended for two way voice communications and that's why it requires microphone access. I don't think you can achieve this delivery of audio messages without that permission.
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.
We have an app built with Twilio Chat for iOS and everything is working very well. However, we now have a requirement to invite the other chat participant to join a video room, and we would like to send the invite signal through the Twilio Chat channel that is already established (similar in functionality to the Typing signal.)
I know Push Notifications are supported by Twilio Chat, but that seems like overkill for this use case, where a simple signal is all that's needed.
What is the easiest way to send a very small amount of non-message data between Twilio Chat channel participants?
Twilio developer evangelist here.
When you send a message with Twilio Chat you can also set an Attributes field which can contain JSON. You can then use this to signal that the message is not for printing on the page, but a service message or invite. You will then need to updated your UI to read the attributes of a message and decide whether to display it or use it to create the Video chat.
Let me know if that helps at all.
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're using Twilio Programmable Video and we'd like to set up:
- A ringtone while a participant is waiting in the room.
- A "ringing" to notify the other side that a participant is waiting in the room.
All in all, a performance like a voice call.
We have checked API Reference, AudioTrack and Media section, without success. (https://media.twiliocdn.com/sdk/js/video/releases/1.0.0-beta4/docs/)
Any idea to configure this performance?
Regards,
Carlos
Twilio developer evangelist here.
There is no functionality in the Twilio API for providing a ring tone, however you could implement it yourself.
You would need to send an invite to the participant that hasn't entered the room yet. You could do that with a server sent event or websocket. Then you would play the ringtone (using an <audio> element or the web audio API) until the user entered the room themself, at which point you would stop playback of the ringtone.
Let me know if that helps at all.