armackey / nativescript-twilio-video

A Nativescript video chat plugin.
12 stars 8 forks source link

video chat not working in Samsung Galaxy s9+ and s5 #9

Open BhuvaneswariVajravel opened 5 years ago

BhuvaneswariVajravel commented 5 years ago

I am using nativscript-twilio-video 1.0.0 , below is ,my package.json { "description": "NativeScript Application", "license": "SEE LICENSE IN ", "readme": "NativeScript Application", "repository": "", "nativescript": { "id": "com.preludesys.calladoc", "tns-ios": { "version": "3.0.0" }, "tns-android": { "version": "3.3.1" } }, "scripts": { "tslint": "tslint -p tsconfig.json", "ns-bundle": "ns-bundle", "publish-ios-bundle": "npm run ns-bundle --ios --publish-app", "generate-android-snapshot": "generate-android-snapshot --targetArchs arm,arm64,ia32 --install", "start-android-bundle": "npm run ns-bundle --android --run-app", "start-ios-bundle": "npm run ns-bundle --ios --run-app", "build-android-bundle": "npm run ns-bundle --android --build-app", "build-ios-bundle": "npm run ns-bundle --ios --build-app" }, "dependencies": { "@angular/animations": "~4.1.0", "@angular/common": "~4.1.0", "@angular/compiler": "~4.1.0", "@angular/core": "~4.1.0", "@angular/forms": "~4.1.0", "@angular/http": "~4.1.0", "@angular/platform-browser": "~4.1.0", "@angular/router": "~4.1.0", "nativescript-android-utils": "^1.0.2", "nativescript-angular": "~3.0.0", "nativescript-audio": "^4.3.1", "nativescript-camera": "^3.0.1", "nativescript-drop-down": "^3.1.0", "nativescript-google-maps-sdk": "^2.3.2", "nativescript-imagepicker": "^3.0.6", "nativescript-loading-indicator": "^2.3.2", "nativescript-phone": "^1.3.1", "nativescript-photoviewer": "^1.2.0", "nativescript-pro-ui": "^3.2.0", "nativescript-ripple": "^2.0.0", "nativescript-theme-core": "~1.0.2", "nativescript-trace-raven": "^1.1.1", "nativescript-twilio-video": "file:nativescript-twilio-video", "nativescript-xml2js": "^0.5.2", "ng2-trim-directive": "^2.3.2", "reflect-metadata": "~0.1.8", "rxjs": "~5.3.0", "tns-core-modules": "~3.0.0", "tns-platform-declarations": "^3.3.0", "twilio": "^2.1.1", "zone.js": "~0.8.2" }, "devDependencies": { "@angular/compiler-cli": "~4.1.0", "@ngtools/webpack": "^1.3.0", "babel-traverse": "^6.26.0", "babel-types": "6.24.1", "babylon": "6.17.1", "clean-webpack-plugin": "~0.1.19", "codelyzer": "^3.0.1", "copy-webpack-plugin": "~4.0.1", "css-loader": "^2.1.1", "extract-text-webpack-plugin": "~2.1.0", "filewalker": "^0.1.3", "jasmine-core": "^2.6.2", "karma": "^4.0.1", "karma-jasmine": "^1.0.2", "karma-nativescript-launcher": "^0.4.0", "lazy": "1.0.11", "nativescript-css-loader": "~0.26.0", "nativescript-dev-typescript": "~0.4.0", "nativescript-dev-webpack": "next", "nativescript-worker-loader": "~0.8.1", "raw-loader": "~0.5.1", "resolve-url-loader": "~2.0.2", "tslint": "^5.4.2", "typescript": "~2.2.1", "uglifyjs-webpack-plugin": "~1.1.6", "webpack": "~2.6.1", "webpack-bundle-analyzer": "^3.2.0", "webpack-sources": "~1.0.1" } }

recent plugin version are not compatible with our application.but 1.0.0 version is not working in Samsung Galaxy s9+ and s5. the issue is in connect_to_room function. remote video is not loading. i could see only my local video. is there any solution

armackey commented 5 years ago

I'll look into this. Is there an error in console that could help?

BhuvaneswariVajravel commented 5 years ago

No i dont find any error. But to trace issue i put console in every methods of twilio-video.ts. i found that console.log after var focusRequest in public requestAudiotrack() is not displaying. But there is no error.

On Tue 23 Apr, 2019, 8:06 PM allen, notifications@github.com wrote:

I'll look into this. Is there an error in console that could help?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/armackey/nativescript-twilio-video/issues/9#issuecomment-485830680, or mute the thread https://github.com/notifications/unsubscribe-auth/AFTVY7QBJ66V4KCKTOG3UCLPR4NIHANCNFSM4HHW5DBQ .

armackey commented 5 years ago

Gotcha. I'll try to have an update for you sometime today/tonight.

BhuvaneswariVajravel commented 5 years ago

Thank you so much armackey

On Tue 23 Apr, 2019, 9:56 PM allen, notifications@github.com wrote:

Gotcha. I'll try to have an update for you sometime today/tonight.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/armackey/nativescript-twilio-video/issues/9#issuecomment-485876715, or mute the thread https://github.com/notifications/unsubscribe-auth/AFTVY7QBXZ4VSN4UA46H2ULPR42DRANCNFSM4HHW5DBQ .

armackey commented 5 years ago

Updated. Can you try the latest? Also added an angular demo. https://github.com/armackey/nativescript-twilio-video/tree/master/demo-ng

BhuvaneswariVajravel commented 5 years ago

in this i can't use latest plugin. my tns version (3.3.1) won't support latest twilio 1.1.1

armackey commented 5 years ago

The latest is 1.1.2. does that not work? If it doesn't then why not upgrade your nativescript version?

BhuvaneswariVajravel commented 5 years ago

No i can't updagrade nativescript version. Its leads to affect other functionalities. I have to fix with 1.0.0

On Wed 24 Apr, 2019, 12:20 PM allen, notifications@github.com wrote:

The latest is 1.1.2. does that not work? If it doesn't then why not upgrade your nativescript version.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/armackey/nativescript-twilio-video/issues/9#issuecomment-486091709, or mute the thread https://github.com/notifications/unsubscribe-auth/AFTVY7URDDWFNEPART4OXNLPR77LBANCNFSM4HHW5DBQ .

BhuvaneswariVajravel commented 5 years ago

i tried with v1.1.1 now i can see remote video, but in some devices like samsung s9+, redmi note 5 after loading remote video i could not see my local video.can you give me any suggestions.

armackey commented 5 years ago

I'm sorry. It works fine on my s8. I'm not sure why you're experiencing so many issues. Does the demo alone work?

BhuvaneswariVajravel commented 5 years ago

I tried it is not working On Tue 30 Apr, 2019, 7:52 PM allen, notifications@github.com wrote:

I'm sorry. It works fine on my s8. I'm not sure why you're experiencing so many issues. Does the demo alone work?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/armackey/nativescript-twilio-video/issues/9#issuecomment-487972112, or mute the thread https://github.com/notifications/unsubscribe-auth/AFTVY7XHBXSGKKW64IO4L63PTBI4BANCNFSM4HHW5DBQ .

armackey commented 5 years ago

Oh wait you mentioned using 1.1.1. try 1.1.5. the latest version

BhuvaneswariVajravel commented 5 years ago

Hi now the issue is fixed but remote audio volume is very low even if device has volume. do you have any idea