video-quickstart-ios | Twilio Video Quickstart for iOS | SDK library
kandi X-RAY | video-quickstart-ios Summary
kandi X-RAY | video-quickstart-ios Summary
NOTE: These sample applications use the Twilio Video 4.x APIs. For examples using previous releases please see the following repositories: For 3.x APIs, please see the 3.x branch. For 2.x APIs, please see the 2.x branch. For 1.x APIs, please see the 1.x branch.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of video-quickstart-ios
video-quickstart-ios Key Features
video-quickstart-ios Examples and Code Snippets
Community Discussions
Trending Discussions on video-quickstart-ios
QUESTION
I am attempting to follow this tutorial: https://www.youtube.com/watch?v=5lrdYBLEk60 and am getting Invalid Access Token - Code: 20101 returned when I follow everything to a tee. I changed nothing in the VideoQuickStart provided, other than adding my Twilio function link with identity: https://carnelian-chinook-9032.twil.io/video-token?identity=doug
Code for function (same as video linked):
...ANSWER
Answered 2019-Sep-26 at 03:35Twilio developer evangelist here.
The issue here is that you are using Test Credentials to create your token. Twilio test credentials are only useful for testing API responses to requests to send a message, buy a number or make a phone call without actually triggering the action.
Switch out for your real credentials and everything should work just fine.
Edit
Using the quickstart that you linked to, the access token is requested by this code which doesn't parse the JSON and look for the token.
If you return just the token as a string payload instead of a JSON payload, then this should work. To update the function, change the callback
to:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install video-quickstart-ios
For 3.x APIs, please see the 3.x branch.
For 2.x APIs, please see the 2.x branch.
For 1.x APIs, please see the 1.x branch.
Setup - Get setup
Quickstart - Run the Quickstart app
Examples - Run the sample applications
Setup an Access Token Server - Setup an access token server
More Documentation - More documentation related to the iOS Video SDK
Issues & Support - Filing issues and general support
License
This repository contains example code written in both Objective-C and Swift. The Swift examples use Apple's Swift 4.2 programming language for iOS.
Using Twilio's Video client within your applications requires an access token. Access Tokens are short-lived credentials that are signed with a Twilio API Key Secret and contain grants which govern the actions the client holding the token is permitted to perform.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page