We built open source video apps so you don't have to

栏目: IT技术 · 发布时间: 6年前

We built open source video apps so you don't have to

Today we are excited to announce that we are open sourcing three video collaboration applications, one for iOS, one for Android, and a ReactJS one for the Web. Whether you are building a healthcare, education, or general video collaboration solution, these apps can accelerate development by providing you with a fully functioning video app that can be deployed to the cloud in minutes. In addition, they provide a canonical reference for developers building out their communication solutions by showcasing the Programmable Video capabilities. These applications are available today on Github under the Apache 2.0 license:

At Twilio we strive to build a reliable, extensible platform so that our customers can build high quality communication experiences in their applications. Our Video SDKs provide the API building blocks for mobile and web developers to create custom communications experiences in their apps. We believe we can help our customers build better communications apps by producing these fully featured reference apps.

We built open source video apps so you don't have to

Above image shows how the open source app renders across desktop, iPhone, and Android.

Open Source Video Apps

Our team began implementing these applications as an internal means to exercise and validate the Programmable Video APIs. Over the years, we have found that the implementation and daily use of these applications provide valuable feedback for building a better Video platform. Additionally, we believe these applications can be helpful to developers embarking on building or enhancing their own Programmable Video apps. These apps are intended to accelerate development, provide a full reference of Programmable Video, and demonstrate best practices with easy-to-read code.

How is this different from a Quickstart?

Twilio uses quickstarts as a means to introduce developers to our Programmable Video SDKs. The quickstarts provide a simple and quick way for developers to build a reference app and familiarize themselves with the different capabilities of the platform with a minimal amount of code.

In contrast, the purpose of these open source apps is to provide a more comprehensive demonstration of Programmable Video features such as:

  • Connecting to a Room and publishing audio & video tracks
  • Screen sharing between participants
  • Defining participant bandwidth usage with Network Bandwidth Profile API
  • Monitoring network conditions with Network Quality API

Getting Started

These applications leverage a new Twilio CLI RTC plugin which supports quickly developing and deploying real-time communication applications using theTwilio Runtime. You can go from exploring an application’s source code to trying it out for yourself in 3 steps. The snippet belows shows an example of how to deploy the web application.

# Build the application
$ npm install 

# Install the RTC plugin
$ twilio plugins:install @twilio-labs/plugin-rtc

# Deploy!
$ npm run deploy:twilio-cli
deploying app... done
Web App URL: https://video-app-1111-dev.twil.io?passcode=1111111111
Passcode: 1111111111

For additional getting started details or information about the applications you can check out each of the projects below.

Web

The web application is written in React . You can get started using the project README and we invite you to provide your feedback if you encounter any issues.

iOS

The iOS application is written in Swift and ObjC, but our team is in the process of migrating to Swift. You can get started using the project README and we invite you to provide your feedback if you encounter any issues.

Android

The Android application is written in Java and Kotlin, but our team is in the process of migrating to Kotlin and  incorporating Google’s App architecture guidelines . You can get started using the project README and we invite you to provide your feedback if you encounter any issues.

RTC Plugin

The Twilio RTC plugin is aTwilio CLI plugin created to help developers develop and deploy real-time communication applications. This plugin presents a new approach to getting started with Twilio Voice and Video and we welcome your feedback !

Wrapping Up and Looking Ahead

At Twilio we strive to wear the customer’s shoes as a means to understand our customer challenges and guide us toward building a better platform. We believe these open source reference apps will help accelerate developers as they build the next generation of video experiences for healthcare, education, collaboration, and more. We look forward to collaborating and can’t wait to see what you build with Programmable Video!

Authors


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

深入浅出强化学习:原理入门

深入浅出强化学习:原理入门

郭宪、方勇纯 / 电子工业出版社 / 2018-1 / 79

《深入浅出强化学习:原理入门》用通俗易懂的语言深入浅出地介绍了强化学习的基本原理,覆盖了传统的强化学习基本方法和当前炙手可热的深度强化学习方法。开篇从最基本的马尔科夫决策过程入手,将强化学习问题纳入到严谨的数学框架中,接着阐述了解决此类问题最基本的方法——动态规划方法,并从中总结出解决强化学习问题的基本思路:交互迭代策略评估和策略改善。基于这个思路,分别介绍了基于值函数的强化学习方法和基于直接策略......一起来看看 《深入浅出强化学习:原理入门》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

URL 编码/解码
URL 编码/解码

URL 编码/解码