PriceFallin / cordova-plugin-twilio-video

Cordova plugin for Twilio Video
16 stars 31 forks source link

Cannot view participant #2

Open Jasonseah opened 6 years ago

Jasonseah commented 6 years ago

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.

PriceFallin commented 6 years ago

I'm a little confused by your comment. Are you saying that it's working and you're able to connect and do a video call but there's no alert of the connection? Or you just can't get it to work in general (not connecting to video chat)?

Jasonseah commented 6 years ago

I am sorry for not clarify enough, I try to install your plugin to 2 of my IOS phone, the plugin is working but only the mic work well, I couldn't see the face from another phone it just showing my face only, and when I touch that big black frame (which suppose to show the participant face) the app broke.

PriceFallin commented 6 years ago

Sorry for the delayed response. Did you resolve this issue?

For iOS you need to make sure you follow the manual adding of the SDK found here: https://www.twilio.com/docs/api/video/download-video-sdks#ios-sdk

Also, be sure to use version 1 of the iOS SDK.

cavalryjim commented 6 years ago

@Jasonseah Having just implemented this plugin, your problem might be with the tokens. How familiar are you with Twilio? I ask because I went through a similar situation that you describe.

Jasonseah commented 6 years ago

@PriceFallin I have found that the issue is very weird if I connect Web with IOS or Android works... but not when IOS try to connect with Android, same happen another way around. I have tried using v.1 plugin still facing the same issue.

Jasonseah commented 6 years ago

@cavalryjim I am new to Twilio. But it works web to web or web to a phone but not working if a phone with another phone can you try whether your side having the same issue?

cavalryjim commented 6 years ago

@Jasonseah - I have been able to make iPhone to iPhone video call and have not attempted Android to iPhone or Web to Phone. Can you give more details about the issue? Does the screen display 'TwilioVideo v1.*' or 'Waiting for ....' ? Can you see yourself in the small video box? Does the flip video work?

If you are new to Twilio, the issue could be with the tokens. Are you using a fresh set of tokens (participant1 token & participant2 token) for each call? Unused tokens are good for 24 hours but I think used tokens expire immediately after the call.

cavalryjim commented 6 years ago

For your app crash comment when tapping the 'big black frame', I traced that issue to a tap gesture for dismissing the keyboard. See my recently closed issue about this or you can view my fork of this repository https://github.com/cavalryjim/cordova-plugin-twilio-video

cavalryjim commented 6 years ago

@Jasonseah - as an update, I made a phone to web video call this morning using this plugin (my forked version).