piyushtank / video-sample-ios-capture-render

A sample Swift application that demonstrates advanced Video Capture and Render techniques with the Twilio Video SDK for iOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twilio Video - iOS Sample - Advanced Capturing and Rendering

This project is a sample application using Twilio Video for iOS. It aims to demonstrate more advanced video capturing and rendering techniques than the Quickstart application.

Requirements

This application was most recently updated to run against version 0.24.1 of the Twilio Video iOS SDK.

How to Run

  • Step 1: Clone the repository to your local machine

  • Step 2 (option 1 - CocoaPods): Run pod install at your terminal, from inside the cloned repository's working directory. Then open the Xcode Workspace created by CocoaPods (VideoSampleCaptureRender.xcworkspace).

  • Step 2 (option 2 - manual): Open the Xcode project (VideoSampleCaptureRender.xcodeproj) from the cloned repository's working directory. Download the iOS Conversations framework and iOS Twilio Common framework. Drag and drop the framework files into your Xcode project, making sure that "Copy items if needed" is checked.

  • Step 3: Insert a valid Twilio Access Token to ViewController.swift in place of the placeholder string TWILIO_ACCESS_TOKEN. You can generate a demo access token here. Once you have this working, you may wish to connect your app with a server that generates Access Tokens on-demand.

  • Step 4: Run the app. Running on a physical device will deliver a better experience, as the simulator cannot provide camera access.

Learn more

About

A sample Swift application that demonstrates advanced Video Capture and Render techniques with the Twilio Video SDK for iOS.

License:MIT License


Languages

Language:Swift 99.4%Language:Ruby 0.6%