Build the future of communications.
Start building for free

"video" posts

  • By Luis Lopez
    Enhancements to the Programmable Video Network Quality API Network Quality API

    A few months ago we announced Twilio Programmable Video Network Quality API: a simple mechanism enabling end-users to be notified, in real-time, about their network quality using a 1-to-5 scale as a measure. Our developer community is incredibly important to us; we have been working hard to address the feedback you’ve provided since the launch. Today, we are thrilled to announce an enhanced version of the Network Quality API. Based on your feedback, we’ve released new features that enable broader quality monitoring and diagnostics.

    Before delving into the details of these new features, we’d first like to share with you the feedback that influenced these updates. We will then outline what has changed and how to use these enhancements in your work.

    Developer Feedback on Programmable Video Network Quality API

    To explain why we’ve implemented these new features, we’d like to recap what we learned ...

    Read More
  • By David Pine
    Build a Video Chat App with ASP.NET Core, Angular, and Twilio mk-TOY_PUIUFMHxRgxDCVpNPAw6LprK_D8dWG2KYLxg-IkukJ9bc01jtzPaR9dHxrLYwwnRVzbWGNg-AOUWPqcRwzyszB_8oh9_xac0-NQcjGgE5FDqZeA_4Xw5ddRKusfYaiTp0

    Realtime user interaction is a great way to enhance the communication and collaboration capabilities of a web application. Video chat is an obvious choice for sales, customer support, and education sites, but how can you quickly implement it? Twilio Programmable Video enables you to efficiently add robust video chat to your applications, whether you are using a JavaScript Model-View-Controller framework like Angular or server-side templates.

    This post will show you how to create a video chat application using the Twilio JavaScript SDK in your Angular single page application (SPA) and the Twilio SDK for C# and .NET in your ASP.NET Core server code. You’ll build the interactions required to create and join video chat rooms, and to publish and subscribe to participant audio and video tracks.

    Prerequisites to a Angular and ASP.NET Core Video App

    You’ll need the following technologies and tools to build the video ...

    Read More
  • By Justin Pirie
    Built with Twilio Video: LearnCube Virtual Classroom mvf5B5XHrokZ8pVkLnO1hbfn9gfcnlm_NHRsb8MoxVjlriMeR_H78K4KXYlAAMAlitQrW2H68PAlw8aJZT7qEkwy-K4mcBY0Y-BfoZNOXa01dGatoItu7pRYmwYjo7SeAtrRg_PR

    Before eLearning, a student needed to commute across town or even move to a different country to get a quality education. Improvements in technology, especially in WebRTC, has taken the hassle out of connecting students with great teachers and schools.

    I’m Alex from LearnCube, virtual classroom software that specializes in helping language-learning and academic tutoring companies teach online.

    When we started four years ago, we made a bet that WebRTC would be the video technology of the future. Users much prefer the seamless experience of not having to download an external app or software. The quality has been getting better every year and it’s already superior to many many established video-conferencing providers.

    We became a Twilio customer for Programmable Video in late 2017 after learning that Twilio had acquired Kurento. What we found was a quality video platform to embed in our virtual classroom software at an affordable ...

    Read More
  • By Onwuka Gideon
    Build a Video Chat App with JavaScript, Vue.js and Programmable Video WOjvA69uQixmylNTlqDapeWEHZeOiXq4JCtg7qoz9B5OygXpx-6M8syXDdyvrlDbLdCBSG-SFEyICyeGN56W8Vv1Ap8k3hPTu6jM5iwl1IxH6mqaKyvrwITKBqsrXVNgPtqSYEza

    Vue.js is a powerful and approachable JavaScript framework that focuses on building user interfaces. One of the reasons why I like Vue is because it is easily adoptable. In this article, I will show you how to build a video chat application using Vue.js and Twilio Programmable Video. In the app, the participants will provide a username to get access to the chat app, then join a room (on the left of the screenshot below) to start chatting.

    Here is a preview of what we'll be building:

    Prerequisites

    Basic knowledge of the following will be useful, but extensive knowledge is not required:

    Before you continue, make sure you have Node.js installed on your system.

    Getting Your Twilio API Keys

    The first step to using Twilio Programmable Video chat is to get an access token. Twilio will generate a ...

    Read More
  • By Phil Nash
    Switching cameras during a video chat with Twilio Video switch2

    We’ve looked at how to choose cameras in JavaScript using the mediaDevices API, particularly for the case of mobile devices with a front and back camera, and now it’s time to put that into practice in an application. In this post we will use what we learned to build a camera switcher into a video chat application using Twilio Video.

    Getting started

    We’re going to build this off a slightly modified version of the Twilio Video quickstart application. In order to build this app you will need:

    Clone the repo for ...

    Read More
  • By Phil Nash
    Screen capture in Microsoft Edge dhaghi8gCz4DR7oDsoL03H6jOPy25zPmMkdmCmPc7njb01BXjnTaz7hk9ygcwXbaqs__WUfZB7ZZvLhBdjcUjkEaO4IZcvuaeCrXmXPtK5Lr7LvjKB-b9Wq3-XlYOUT5cQ9xtI0

    We’ve looked before at how to capture a user’s screen in Chrome and Firefox. Good news, another browser has support now, Microsoft’s Edge.

    Let’s see how we can capture the screen with Edge.

    The result of the code in this post. When you visit the project in Edge, you can capture the screen and show it in a video on the page.

    What you need

    • The latest version of Edge, which is currently version 42 with EdgeHTML version 17 (if you’re on a Mac like me, you can get a free virtual machine with Windows 10 and Edge installed to test on)
    • A text editor
    • A local web server – I like to use serve for things like this
    • Either ngrok or an equivalent tunnelling service or TLS certificates set up for localhost (we’ll see why later)

    Screen Capture

    Whereas Chrome required an extension to be built and Firefox used getUserMedia with a mediaSource constraint of "screen" to get a handle on the stream of the screen, once again Edge uses a different method ...

    Read More
  • By Roger Stringer
    Hosting Live Webinars with JavaScript, Node.js, AdonisJs and Twilio Programmable Video Twilio-Video-hi-res

    We’re going to use Twilio Video with the AdonisJs framework to create a system where a user can host a video, and viewers can watch their presentation. AdonisJs is a full-stack, open-source MVC framework for Node.js that was inspired by the Laravel framework and borrows some of its concepts. AdonisJs saves you time and effort becauses it ships with a lot of features out of the box.

    This system can be extended that users can sign up and schedule talks on, even pay to use. But we’re going to keep our project simple so it is easier to build your initial application.

    What is Twilio Video?

    We will use Twilio Programmable Video to build our app. Twilio’s Video SDK is a fast way to build a full featured WebRTC video solution across web, Android and iOS. We’ll be using the JavaScript SDK but you can ...

    Read More
  • By Phil Nash
    Choosing cameras in JavaScript with the mediaDevices API

    Most smart phones come with a front and back camera, when you’re building a video application for mobile you may want to choose or switch between them.

    If you’re building a chat app you probably want the front camera, but if you’re building a camera app then you’re more interested in the rear camera. In this post we’re going to see how to choose or switch between cameras using the mediaDevices API and media constraints.

    What you’ll need

    To follow along with this post you’ll need:

    • An iOS or Android device with two cameras to test with, if you have two webcams this will work on your laptop too
    • ngrok so you can easily access the project from your mobile device (and because I think ngrok is awesome)
    • The code from this GitHub repo to get you started

    To get the code, clone ...

    Read More
  • By Phil Nash
    How to detect if a Chrome extension is installed

    In other posts we have investigated how to capture screen output in Chrome and built a screen sharing video chat application. There was one feature missing though. The Chrome extension made screen capture possible, but didn’t test whether it  had been installed before the application tried to use it. In this post we are going to build a Chrome extension that can be detected from the front end.

    Getting set up

    We’re going to use the extension we built for screen capture and add the functionality to make it detectable. We’ll then build an example to show handling the two cases, with and without the extension.

    Download the source for the extension from the GitHub repo or by cloning the building-extension-detection branch

    git clone -b building-extension-detection https://github.com/philnash/screen-capture.git
    cd screen-capture
    

    The extension

    Open extension/extension.js and take a look ...

    Read More
  • By Kedar Toraskar
    Introducing Global Low Latency for Group Rooms and Media Region Selection GLL_MediaRegions
    • Reduce media latency among participants to improve video quality.
    • Region-based pricing and new REST resources to define location.
    • New REST API to exert greater control of your Room Participants.

    Today, we are excited to announce new capabilities to Programmable Video that will help you reduce media latency and offer you more control over your real-time video experiences.

    • Global Low Latency Media Routing: Starting today, you can now choose which region your media is routed through to minimize latency between participants.
    • New MediaRegion Property: Specify the desired Media Region where you want your media to live, when creating Group Rooms via the REST API.
    • Participant REST API: New controls for participant behavior. Query Participant state and kick Participants out of the Room.
    • PublishedTrack REST API: Query tracks published to a room by Participants.

    Global Service, Local Media

    Now, you can improve call quality for users outside the US with Global Low ...

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