Open ranjanagarwal1991 opened 8 years ago
what version of sdk's are you using? This was a known bug in older sdk's
On 27 May 2016 at 13:40, ranjan agarwal notifications@github.com wrote:
I am making a cordova app for video chat and voice chat. Everything is fine except when i speak in ios device i can heard my voice again after a second or so.
In android everything is fine but in IOS i can hear my voice again and again on every time i speak.
Please reply if anyone has a solution..
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/songz/cordova-plugin-opentok/issues/223, or mute the thread https://github.com/notifications/unsubscribe/ABhvS3KGzUszMIPX88bsD62CfO9Zx2i7ks5qFuZFgaJpZM4IodmI .
I am using latest cordova cli with latest ios platform..and i have downloaded this plugin by its name given here..
How can i check the sdk you are referring to??
You might want to checkout one of the more uptodat forks of this project. This project default is to use opentok 2.4. they're now on 2.8 and it's improved a lot... On 27 May 2016 18:10, "ranjan agarwal" notifications@github.com wrote:
I am using latest cordova cli with latest ios platform..and i have downloaded this plugin by its name given here..
How can i check the sdk you are referring to??
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/songz/cordova-plugin-opentok/issues/223#issuecomment-222201737, or mute the thread https://github.com/notifications/unsubscribe/ABhvS_arffJq4ZXM1Vzcwj5NlZt1qqZrks5qFyVxgaJpZM4IodmI .
Hi martyzz, its silly to ask but i dont know how to find a latest fork. Can you please help me out.
What i have done is i have create my cordova app and i have installed the plugin using cordova plugin add cordova plugin add https://github.com/songz/cordova-plugin-opentok/
Then i have added my code in the app and added ios platform. Then i have build the app using xcode and installed in iphone.
Same i have done for android and installed in my android phone. Then i made connection between these two devices only and i am having the problem.
try one of these forks
https://github.com/IjzerenHein/cordova-plugin-opentok
or this one
https://github.com/mergein/cordova-plugin-opentok
I haven't tried either, but I can see they're both being activiely contributed to and include much newer opentok sdks (2.7)
Also it is possible to update to 2.8, but you'd have to do this manually yourself, by making a fork and pathching the changes. There's information on how to do this in the open issues on this fork.
There is a known problem with the older sdks communicating with a chrome 50 browser....
Both of the plugins didn't worked for me.
When i install plugin using: cordova plugin add https://github.com/IjzerenHein/cordova-plugin-opentok
I am not able to add ios platform, there is some problem with opentok.framework.
When i install plugin using: https://github.com/mergein/cordova-plugin-opentok
I am not able to connect to opentok in both android or ios cordova app.
Is there any other way to convert it to opentok sdk 2.8.1 in both android and ios.
yes, look at those issues I linked above. Make just those changes to this version
On 28 May 2016 at 10:09, ranjan agarwal notifications@github.com wrote:
Both of the plugins didn't worked for me.
When i install plugin using: cordova plugin add https://github.com/IjzerenHein/cordova-plugin-opentok
I am not able to add ios platform, there is some problem with opentok.framework.
When i install plugin using: https://github.com/mergein/cordova-plugin-opentok
I am not able to connect to opentok in both android or ios cordova app.
Is there any other way to convert it to opentok sdk 2.8.1 in both android and ios.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/songz/cordova-plugin-opentok/issues/223#issuecomment-222298645, or mute the thread https://github.com/notifications/unsubscribe/ABhvS709S-2dWiwr36n8BnUPn1L3uDu5ks5qGAY6gaJpZM4IodmI .
YES, i got it working to the perfect level.
If you want best usage of opentok in cordova use these plugins.
For Android Use: cordova plugin add https://github.com/songz/cordova-plugin-opentok/
For IOS Use: cordova plugin add https://github.com/IrinaCodixis/cordova-plugin-opentok
I'm glad it worked for you but I'm not sure I'd agree that this is the best solution. You're still using 2.4 SDK's from opentok. These are old and buggy...
@ranjanagarwal1991 Can you please help me in this regards, i'm also stuck with several options of OpenTok plugin?
Where are you stuck?
Which platform you are using for the app?
@rajan i am using it on top of ionic framework. I used this sdk and it works fine on ios but im unable to get a sound output from device to my pc on android. Do you have any working sample for both platforms that i could use? That would be really great as i am stuck on this for sometime now. Thanks in advance
Ios to Pc works fine, android to pc gives no audio on pc but only on the android device.
Well i have never used my code for pc to android or pc to ios. But i will surely provide you a working example by one or two days.
Thank you, i will wait for your reply
Hello there everyone. I managed to make opentok work in Ionic but only on Android. @smuaq can you share how you made it work on iOS? also, are you on cordova or Ionic? Thank you :)
@andreportaro I'm on ionic, you can use my fork, it has some extra checks in both layers & also uses the latest opentok version. Link: https://github.com/smuaq/cordova-plugin-opentok
Thank you @smuaq I'm having trouble understanding - all these forks use deviceready callback, but I understand its meant to be used in cordova, am I wrong? Where should I put it inside an Ionic app, inside the controller that has the video?
It would be so helpful to have a small description on using it inside a Ionic app.
I'll keep trying, but if you have any other info its much appreciated :)
I can definitely help you on that if you want! Well that logic would go inside the controller. You really don't need a deviceready callback for opentok initialization, it already only works on devices.
I'm thinking about putting out my own plugin for this since I see many other stumbling across such basics & I definitely feel their pain ^_^
Please do! I feel bad that this is considered basic; but I do know I'm kinda venturing in a whole new turf and may be beating my head in the wrong direction. If you have an example of a working ionic app with this plugin, I'd appreciate it very much.
Right now I'm at the point that I can see only the video of the user on the screen, but can't subscribe to anything.
:)
2017-10-24 16:06 GMT-02:00 Usman notifications@github.com:
I'm thinking about putting out my own plugin for this since I see many other stumbling across such basics & I definitely feel their pain ^_^
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/songz/cordova-plugin-opentok/issues/223#issuecomment-339080231, or mute the thread https://github.com/notifications/unsubscribe-auth/AFObisRp11kPixPr2jUbRGE4R4DVYirCks5svicwgaJpZM4IodmI .
-- André Portaro Tzermias 55 12 9 9653 1200
Ah! sure I will share the code with you, by the way make sure you are initializing everything correctly. Give me a day, I will put out the sample code with my integrated plugin that will be helpful.
@andreportaro here you go: https://github.com/smuaq/cordova-opentok-sample Sample app with basics setup for a proper video session. Let me know if it works out.
Thank you so much @smuaq . I'm going to try it out!
Thanks a lot Usman and sorry for the delay. Actually I didnt manage to make it work, even with your example :( I guess it would be better for us all if we moved this chat to a new issue or another repo? Thanks!!
2017-10-25 7:50 GMT-02:00 Usman notifications@github.com:
@andreportaro https://github.com/andreportaro here you go: https://github.com/smuaq/cordova-opentok-sample Sample app with basics setup for a proper video session. Let me know if it works out.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/songz/cordova-plugin-opentok/issues/223#issuecomment-339276652, or mute the thread https://github.com/notifications/unsubscribe-auth/AFObiqmQsLkDSi22KtHCLIQ7mEWGSokGks5svwRJgaJpZM4IodmI .
-- André Portaro Tzermias 55 12 9 9653 1200
@andreportaro sure, you can reach to me on skype as well if you need live:smuaq
I am making a cordova app for video chat and voice chat. Everything is fine except when i speak in ios device i can heard my voice again after a second or so.
In android everything is fine but in IOS i can hear my voice again and again on every time i speak.
Please reply if anyone has a solution..