Build the future of communications.
Start building for free

"twilio-client" posts

  • By Jarod Reyes
    Hacking Twilio Client to Play Videos Over the Phone Video over phone

    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 ...

    Read More
  • By Nico Acosta
    Twilio Client SDKs now supports Safari Client SDK Safari

    If you’re on a Mac or building an application for customers who use Safari, we have good news. With version 11.0, Safari began supporting WebRTC, making it ubiquitous for all major browsers. And with this support, the latest version of the Twilio Client JavaScript SDK also includes support for Safari.

    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 ...

    Read More
  • By Rob Brazier
    (Beta) Programmable Voice SDK for iOS, with support for VoIP Services Push Notifications Programmable Voice iOS SDK

    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).  

    To start building the Programmable Voice SDK for iOS, check out the quickstart.

    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 ...

    Read More
  • By Sam Agnew
    Getting started with Twilio and Segment Sources: Using JavaScript and PostgreSQL to track conversion events 5Hi8Jee5P7kWA5KluywmbfMfVUjIj4XFazti91atZ-1vJ6OjqSbsfm5NNQjY4ETAc6duyiXJyIwbOJvjLCXjcjHrD3ZC1Z8hBHzrE_0EeL7635fP7EGuetgZ4J2Qh41ev619Oxq-1

    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.

    twilio sync.png

    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 installed as well as Twilio, Segment, and Heroku accounts. Additionally, you’ll need a tool for visualizing the Lead Conversion data. We’ll show you how to use ...

    Read More
  • By Ari Sigal
    Twilio Client 1.3 Adds ORTC Support for Microsoft Edge, Call Quality Improvements, and More Programmable Voice iOS SDK

    Today we are excited to launch improvements to the Twilio Client JavaScript SDK, our service that enables developers to embed voice communications in browser applications, giving users the power to communicate with context. Twilio Client 1.3 brings a ton of improvements to your voice over IP applications. The library is now compatible with ORTC in Microsoft’s Edge browser. The combined new features of static IP address ranges for Twilio Client media servers and the ability to select the specific Twilio data center you’d like to use makes it easier to apply QoS and firewall policies to Twilio Client media. And the addition of DSCP packet tagging can help you eliminate call quality issues introduced by your local network.

    Support for ORTC in Microsoft Edge
    We love APIs, especially APIs that make it easier to communicate. And Microsoft Edge’s Object Real-time Communications API, or ORTC, fits the ...

    Read More
  • By Devin Rader
    A Swift Adventure: Building BasicPhone with TwilioClient – Part 2 swift

    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 ...

    Read More
  • By Devin Rader
    A Swift Adventure: Building BasicPhone with TwilioClient swift

    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 ...

    Read More
  • By Carter Rabasa
    Twilio on Rails Part 3 – Adding Contextual VOIP Using WebRTC to Your Rails 4 App twilio_on_rails2

    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

    Contextual VOIP

    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 ...

    Read More
  • By Al Cook
    Twilio Client iOS Update Delivers Call Quality Improvements and More logo

    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 ...
    Read More
  • By Brent Schooley
    Twilio Client for Xamarin – Part 3: Android twilio-client-android-placeit

    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.

    twilio-client-android

    What You’ll Need

    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 ...

    Read More
  • Newer
    Older
    Sign up and start building
    Not ready yet? Talk to an expert.