Is it possible to record only one person in video call with Twilio?
I don't see any examples in their documentation about video recording for one person.
Yes you absolutely can, just make the 2 people join the same room.
You can give it a try with Twilio's sample app here: Twilio Video Sample App
Just make sure the 2 devices running this app connects to the same room.
Related
Can Anyone please let me know how we can do a one to one video calling app using twilio.
I could get some sample codes to do a group video chat, but my requirement is particular to have it one to one, please guide if there is any way to do it using twilio.
To build a one to one video calling app, you can follow the same steps to build a multiparty group chat, but limit the access to the room to only 2 participants.
You can easily build a video calling app with the help of Twilio WebRTC Go, and WebRTC Go rooms have default max participants set at 2.
To know more about how to set "max participants" with Twilio WebRTC you can visit the link here.
To understand more about different type of Video rooms using Twilio, you can also visit this doc.
You can set the room limit to 2, when making the multi-party video app using Video Room. Second option is to use WebRTC as mention above, here is the guide of making such app using NodeJS by twilio.
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.
I'm building a streaming iOS app in Swift. Looking at the docs https://www.twilio.com/docs/api/video I understand that you can create live video chat rooms on the fly.
My use case is a bit different:
User A access a room, hit 'record' and start streaming a video of himself to Twilio storage. Creates a thumbnail in the UI. User B enters the same room and click the video thumbnail - that video should be streamed down to User B.
If user A is talking (Streaming up) and user B is in the room at the same time, it should be possible to 'Go live', which would start a live video chat room that other users can join too.
Main question: Does Twilio Programmable Video allow streaming up and down using their storage?
Secondary question: Would you say Twilio Programmable Video is the right choice for this use case or would you recommend another service?
Twilio developer evangelist here.
I'll answer this the other way around that you asked if that's ok.
If User A is currently streaming to a room and recording it (having created the room in group mode with RecordParticipantsOnConnect set to true) and another user wants to join the room, then they can. They just need an access token that gives them access to the room. They will then be able to join the room and chat and be recorded too.
Once a recording is complete, you will receive a webhook to the statusCallback URL that was set for the room. The callback for the recording will have the recording-complete and will include a MediaURL for the recording as well as the Uri and Sid for the recording resource.
You can use the media URL or the recording resource to get the binary data, which for videos will be in .mkv format. If you want to stream this video to your users, you may want to download the video and convert to a playable format. Or upload it to a streaming service.
Let me know if that helps at all.
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.
I want to use twilio for Remote assistance.
Where user can share camera feed and Technician can assist by drawing annotations on the screen.
similar to the demo video on https://www.twilio.com/video
I was able to get the Video Chat running on my iOS devices.
Can you please guide me how to make annotations on one device which will be shown on the other device.
Twilio Video does not provide support for annotating videos as part of the SDK. There is also no current support for using the WebRTC data channel to send that across. You need to provide your own websocket solution for this I'm afraid.
Edit
Twilio Video does support the data channel now, under the Data Tracks API. You can see the documentation here: https://www.twilio.com/docs/video/javascript-v1-using-the-datatrack-api.
You might also consider using Twilio Sync for something like this too.