cordova-plugin-opentok | Cordova Plugin for OpenTok - add webrtc video | Mobile Application library
kandi X-RAY | cordova-plugin-opentok Summary
kandi X-RAY | cordova-plugin-opentok Summary
Cordova Plugin for OpenTok iOS === # Note: This repo is no longer maintained. You can find the updated Cordova OpenTok Plugin [here] Weave video chat into your web (and now mobile!) application.
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 cordova-plugin-opentok
cordova-plugin-opentok Key Features
cordova-plugin-opentok Examples and Code Snippets
Community Discussions
Trending Discussions on cordova-plugin-opentok
QUESTION
I am using the ionic opentok plugin from this repo, https://github.com/opentok/cordova-plugin-opentok I have, of course, followed the https://github.com/opentok/opentok-cordova-samples projects and built an app. However, I am struggling with switching the camera in an ongoing video session. My code is simple, a button on the screen,
...ANSWER
Answered 2019-Jan-09 at 15:54TokBox Developer Evangelist here.
The cycleVideo
method is only available using the OpenTok JS SDK. To toggle the camera when using the Cordova OpenTok Plugin, please use the following method:
publisher.setCameraPosition('front');
or publisher.setCameraPosition('back')
;
Using the plugin, you can also initialize the Publisher object with either the front or the back camera using the cameraName
property as part of the properties argument for the initPublisher
method like so:
QUESTION
We used to use: https://github.com/songz/cordova-plugin-opentok/
But now we are updating to officially supported plugin: https://github.com/opentok/cordova-plugin-opentok
I just notice, songz's version used to have a completion handler for initPublisher method: Code here But surprisingly, it was removed (the third param) in this new version from Opentok labs: Code here
Just wondering, how can we handle it now? Tokbox documentation shows how it is still available in js SDK OT#initPublisher
...ANSWER
Answered 2018-Aug-07 at 15:30TokBox Developer Evangelist here.
Song's original plugin had three parameters for initPublisher
, but it did not support a completion handler. Instead, the initPublisher
function accepted the following parameters:
apiKey
domId
properties
The plugin under the OpenTok Labs organization (built on top of Song's) removed the apiKey
parameter because it wasn't needed anymore. I've gone ahead and opened an issue on the repo for adding a completion handler to the initPublisher
method.
Hope this helps!
QUESTION
I'm using the Tokbox/OpenTok Cordova Plugin in my app (which internally uses the native OpenTok Android SDK). But after uploading my apks to GooglePlay i've noticed that some users may not install the app since it sets which is a problem for older Android devices (e.g. Samsung GT-P5100 / Samsung Galaxy Tab2 10.1).
My question: Is autofocus
really required to use opentok or could it be optional so all users can access the new version?
The official requirements for the Android SDK state:
The OpenTok Android SDK works with any Android 4.1+ device (Jelly Bean, API Level 16) that has a camera (for publishing video) and adequate CPU and memory support.
Thanks a lot!
...ANSWER
Answered 2017-Dec-13 at 15:43Great point! Autofocus is not a requirement for the OpenTok Android SDK. I've updated the plugin.xml to the following:
Here's a link to the updated Cordova-OpenTok-Plugin which uses iOS and Android 2.12.0 SDKs: https://github.com/opentok/cordova-plugin-opentok
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cordova-plugin-opentok
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