Twilio Client posts
How can I play a Youtube video over WebRTC?
Is there a way to play dynamic audio over a Twilio Voice call?
Many people have asked about playing dynamic audio over the phone using Twilio. And while TwiML does allow you to create dynamic templates based on user input, it doesn’t help me if I want to start and stop audio or play a video over the phone. I could imagine some enterprising person using these powers to prank the robocallers, spammers and even the occasional pesky family member. In this post, we are going to look at one quick way to inject any MediaStream into a phone call using the WebRTC-based Twilio Client SDK.
Prerequisite: This post starts off at the very end of the Twilio Client quickstart, so if you haven’t completed that it is recommended you do so now. Of course, these concepts could be …
With the last major browser covered – WebRTC was already supported on Chrome, Firefox, Opera, iOS, and Android – developers can now consider WebRTC a de facto standard for voice and video communications on the web.
Here are a few ideas of what you can do with Twilio Client:
Click to call – If you’re a retailer or have a customer support page, why not let your customer call you directly from that page instead of dialing the phone? Now that Client supports Safari, you can be sure you will support virtually every customer who might want to call you, …
iOS 10, released this week, makes it even easier to integrate great VoIP experiences with your iOS applications. Today we’re proud to launch the Public Beta of the new Programmable Voice SDK for iOS. This SDK is designed as the next version of the currently available Twilio Client SDK v1.2.11 for iOS. You’ll notice a few changes such as out-of-the-box support for Apple’s VoIP Services Push Notifications (powered by Twilio’s Notify infrastructure).
Reaching your users
Any mobile app that allows a user to receive an incoming call has to make sure it can reliably deliver a call notification to the user in question. A good solution to this problem will reach the user every time, no matter whether the application is in the foreground, background, or not running at all. It will also handle any changes …
With Segment Sources and Twilio, you can get a holistic view into your customers’ journey through your Twilio voice or SMS app. In just a few clicks you can sync your Twilio logs to a data warehouse for advanced analysis.
Combine these logs with data generated by other customer touch points like CRM, helpdesk, payments, email and in-app data to give you a complete view of your customer experience.
To demonstrate this, we are going to modify the Node version of the Twilio call tracking tutorial adding an additional lead conversion measure that will be stored using Segment. We’ll analyze that new measure using SQL and a data warehouse.
In order to build the sample app you’ll need Node.js in …
In the first post in this series we wrote a simple iOS app using Swift that made an outbound phone call using the Twilio Client SDK for iOS. To do that we set up the basic server infrastructure we need in order to generate a capability token, created a TwiML application that told Twilio what experience to give the caller and used the Client SDK APIs to create a new Device and Connection.
In the second part we’ll look at using the SDK to receive inbound calls. I’ll show you how to accept calls while the application is running in the foreground, as well as how to use notifications to alert the user of incoming calls while the application is in the background.
Just want to grab the app code and run with it? Head on over to Github to get the full source for SwiftPhone. If you want to …
Swift is a fantastic new language from Apple that brings many great features like functional programming patterns, generics and memory management to the world of Cocoa development. My first in-depth exposure to Swift was attending CocoaConf Atlanta and seeing Daniel Steinberg give his Swift language fundamentals presentation. The programming language enthusiast in me immediately started to noodle on app ideas, but once I saw Jonathan Blocksom talk about Objective-C and Swift interoperability I knew wanted to try to build a Swift application using the Twilio Client for iOS SDK. Given that the Objective-C/Swift interoperability appeared to be very strong so my hope was that the Twilio Client for iOS library would just work.
Twilio ships a number of sample applications with the iOS SDK so as my first Swift project I decided to try to port one of them, BasicPhone, to Swift. Porting the application would give me some …
Welcome to the final part of our series on integrating Twilio with your Rails 4 app. In Part 1 we walked through signing-up for a free Twilio developer account, getting a phone number and processing an inbound phone call. In Part 2 we secured the webhooks, used Twilio’s REST API to send outbound SMS and MMS and processed delivery receipt notifications. In this post we are going create a contextual VOIP experience for your users by learning how to:
- Create a TwiML app
- Integrate the Twilio Client JS SDK
- Generate a Capability Token
- Connect the VOIP call
In our previous blog posts we used Twilio to make phone calls and deliver text messages. These capabilities are quite powerful but they are often siloed away from the context of the application that the user is interacting with. With Twilio Client WebRTC you can embed a VOIP experience directly into …
Today, we’re happy to announce that v1.2 of our Twilio Client iOS SDK is now available to all. If you’re not familiar with the product, Twilio Mobile Client lets you embed Voice over IP (VoIP) into your iOS & Android apps. This lets your users communicate within the context of your application.
Version 1.2 includes a few key improvements for iOS developers.
- Twilio’s Global Low Latency (GLL) call routing is now supported with the iOS SDK. GLL ensures that your media is always routed to the Twilio data center closest to the user–any one of our seven data centers spread across five continents. We pick the best path for your media to minimize geographic distance and the number of hops over the public internet. This means wherever your users are, and whomever they’re calling, they experience the same level of quality as a local phone call.
- Next, we’ve made it …
In Part Two of this series we showed how it was possible to create a gigantic phone out of an iPad using Xamarin.iOS and Twilio Client. Almost immediately we got a lot of ‘we were here first’ complaints from Android developers. Can’t we all just get along? Since we don’t play favorites around here, this post will show you how to turn an Android tablet into a phone with Xamarin.Android using Twilio Client.
What You’ll Need
- Xamarin Studio for Mac or Windows (or Xamarin for Visual Studio)
- Xamarin account (Indie or higher – free trial is available)
- Twilio account – sign up for a free account here
- Twilio Client component for Xamarin
- ASP.NET MVC
- Twilio.Mvc and Twilio.Client NuGet packages
How Twilio Works
Before we get started building our Android tablet phone let’s go over what happens when an inbound call comes in to Twilio. This will help you …