Coder Social home page Coder Social logo

cordova-plugin-twilio-video's People

Contributors

adventuresofmar avatar cavalryjim avatar pricefallin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cordova-plugin-twilio-video's Issues

Request for example repo or gist

Hi there Prince. I arrived from the thread twilio/twilio-video.js#85

First, thanks for supplying the repo. Could you possibly provide an example repo of the plugin in a basic ionic app setup using the twilio programmable video sdk. The latest version as of this issue is "twilio-video": "1.5.0" I've tried implementing the plugin, but Im having trouble registering it in a page. It isn't explicitly stated how to declare the plugin.

For example:
declare const TwilioVideoPlugin;
declare const VideoConversationPlugin;
declare const cordova.videoconversation;
declare const cordova-plugin-twilio-video;
import * as ? from ?;

You stated in the readme to
Get token And Call the API cordova.videoconversation.open( RoomName: string, Token: string);

So, do you mean to first request the token from the server and then run
cordova.videoconversation.connect( RoomName: string, Token: string)

I ask this because the latest twilio video api doesn't contain a method or global called open.

Even a single gist showing the plugin being declared and then called in the export class would suffice.

Thanks again.

Using with Cordova 7+

Hi there, when trying to add this plugin using cordova 7+ there's an error with dependency compat plugin.
Any ideas on how to get this to work with cordova 7+? Looks like that plugin is now part of cordova.
Thx :)

Tap Gesture crashes app

I have successfully installed the plugin along with TwilioVideo.framework version 1.4 (& associated frameworks). I have also successfully conducted a video call between two iPhones via an Ionic app (ionic version 3.20.0)

During the video call, tap gestures on the mute, camera, toggle, and end icons seem to be working correctly but tap gestures elsewhere on the screen cause the app to crash. The troublesome tap gesture seems to trigger a dismissKeyboard action.

Xcode output:

[TwilioVideoViewController dismissKeyboard]: unrecognized selector sent to instance 0x103352fb0
2018-06-04 16:41:17.938204-0500 relief_app[783:269693] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[TwilioVideoViewController dismissKeyboard]: unrecognized selector sent to instance 0x103352fb0'
*** First throw call stack:
(0x18464e364 0x183894528 0x18465b828 0x18def021c 0x184653d10 0x184538ecc 0x18e1cccd0 0x18e1d12c4 0x18dca9aa8 0x18db60c38 0x18e1bab34 0x18e1ba6a4 0x18e1b9800 0x18db5ef44 0x18db2ff64 0x18e48531c 0x18e4878a8 0x18e4807c0 0x1845f697c 0x1845f68fc 0x1845f6184 0x1845f3d5c 0x184513e58 0x1863c0f84 0x18db9367c 0x10209c2e0 0x18403056c)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 

Add plugin

issue: Cordova plugin not found
ionic cordova plugin add cordova-plugin-twilio-video

cordova.cmd plugin add cordova-plugin-twilio-video
npm: Command failed with exit code 1 Error output:
npm ERR! code E404
npm ERR! 404 Not found : cordova-plugin-twilio-video
npm ERR! 404
npm ERR! 404 'cordova-plugin-twilio-video' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\devravi\AppData\Roaming\npm-cache_logs\2020-07-06T17_03_09_515Z-debug.log
[ERROR] An error occurred while running subprocess cordova.

    cordova.cmd plugin add cordova-plugin-twilio-video exited with exit code 1.

    Re-running this command with the --verbose flag may provide more information.

A VideoCapturer must provide at least one supported VideoFormat

I am getting the following erro but only in a specific device (smart glasses):

java.lang.IllegalStateException: A VideoCapturer must provide at least one supported VideoFormat
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
I am getting the following error on smart glasses:

Caused by: java.lang.IllegalStateException: A VideoCapturer must provide at least one supported VideoFormat
at com.twilio.video.Preconditions.checkState(Preconditions.java:453)
at com.twilio.video.LocalVideoTrack.create(LocalVideoTrack.java:70)
at com.twilio.video.LocalVideoTrack.create(LocalVideoTrack.java:44)
at cordova.plugin.twilio.video.ConversationActivity.createAudioAndVideoTracks(ConversationActivity.java:264)
at cordova.plugin.twilio.video.ConversationActivity.onCreate(ConversationActivity.java:136)
at android.app.Activity.performCreate(Activity.java:6275)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)

Cannot view participant

Hi PriceFalllin,

I have tried your repo it working great ! Just there will show nothing when participant connected.
Do I need to add on anything to make it work ?

I am currently using Ionic 3.2 & cordova 7.1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.