Hi
I manage android side but when i start ios i can’t handle
There was an error connecting to the session: Browser Safari (version 8+) for iOS is not supported in OpenVidu
it gives this error. I looked example project and projects works fine. But when i try my own project it gives this error
i install cordova-plugin-iosrtc i try everything but it doesn’t work.
did i missing something?
Hi,
Hace you tested the OpenVidu ionic tutorials And they worked bu your ionic app doesn’t work right?
Could you paste here the package.json file? It could be a outdated dependencies problem
{
"name": "randomVideo",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/common": "~9.1.6",
"@angular/core": "~9.1.6",
"@angular/forms": "~9.1.6",
"@angular/platform-browser": "~9.1.6",
"@angular/platform-browser-dynamic": "~9.1.6",
"@angular/router": "~9.1.6",
"@ionic-native/android-permissions": "^5.27.0",
"@ionic-native/camera": "^5.27.0",
"@ionic-native/core": "^5.0.7",
"@ionic-native/crop": "^5.27.0",
"@ionic-native/device": "^5.27.0",
"@ionic-native/file": "^5.27.0",
"@ionic-native/file-transfer": "^5.27.0",
"@ionic-native/in-app-browser": "^5.27.0",
"@ionic-native/onesignal": "^5.27.0",
"@ionic-native/splash-screen": "^5.0.0",
"@ionic-native/status-bar": "^5.0.0",
"@ionic/angular": "^5.0.0",
"@ngx-translate/core": "^13.0.0",
"@ngx-translate/http-loader": "^6.0.0",
"cordova-ios": "^6.1.0",
"cordova-plugin-android-permissions": "^1.0.2",
"cordova-plugin-camera": "^4.1.0",
"cordova-plugin-crop": "^0.4.0",
"cordova-plugin-device": "^2.0.2",
"cordova-plugin-file": "^6.0.2",
"cordova-plugin-file-transfer": "^1.7.1",
"cordova-plugin-inappbrowser": "^4.0.0",
"cordova-plugin-ionic-webview": "^5.0.0",
"cordova-plugin-iosrtc": "^6.0.12",
"lottie-web": "^5.7.0",
"ngx-lottie": "^6.1.1",
"ngx-socket-io": "^3.2.0",
"openvidu-browser": "^2.15.0",
"rxjs": "~6.5.1",
"tslib": "^1.10.0",
"xcode": "^3.0.1",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.901.5",
"@angular/cli": "~9.1.5",
"@angular/compiler": "~9.1.6",
"@angular/compiler-cli": "~9.1.6",
"@angular/language-service": "~9.1.6",
"@ionic/angular-toolkit": "^2.1.1",
"@types/jasmine": "~3.5.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
"codelyzer": "^5.1.2",
"cordova-plugin-ionic-keyboard": "^2.2.0",
"cordova-plugin-splashscreen": "^5.0.2",
"cordova-plugin-statusbar": "^2.4.2",
"cordova-plugin-whitelist": "^1.3.3",
"jasmine-core": "~3.5.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~2.1.0",
"karma-jasmine": "~3.0.1",
"karma-jasmine-html-reporter": "^1.4.2",
"protractor": "~5.4.3",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "~3.8.3"
},
"description": "An Ionic project",
"cordova": {
"plugins": {
"cordova-plugin-device": {},
"cordova-plugin-inappbrowser": {},
"cordova-plugin-camera": {},
"cordova-plugin-crop": {},
"cordova-plugin-file": {},
"cordova-plugin-file-transfer": {},
"cordova-plugin-whitelist": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-ionic-keyboard": {},
"cordova-plugin-android-permissions": {},
"cordova-plugin-iosrtc": {},
"cordova-plugin-ionic-webview": {}
},
"platforms": [
"ios"
]
}
}
my package.json file
Are you capable to connect to https://demos.openvidu.io/openvidu-call/#/
With your iPhone through Safari browser or do you have the same issue?
Which is your iPhone and iOS version?
yes i can connect this url with safari on iphone 6 ios 12.4.6
any idea of this issue?
Please, open your ionic app, open your devtools and execute the command platform
in the console.
We need to know this info for figure out what is happening in ionic for your case.
Your issue ir really weird @sefa_said because the openvidu-ionic tutorials are working for you…
Have you tried remove node_modules, remove your platform directory and remove and reinstall all your Cordova plugins?
Also I recommend take account the dependencies versions. You can get the openvidu-tutorial as a seed.
Hi
I tried to make app from tutorial but it doesn’t work. When i put my own codes it brokes. But fresh tutorial works
What code are you adding?
Have you tried with another phone?
Have you tried it?
no i will try it tomarrow
just some socket.io and api things
I am getting the very same error message. I got it just an hour ago and it was after a openvidu-browser upgrade, from 2.14.0 to 2.15.0
I didn’t remove my node_modules, platform dir etc. so I am trying that now. I’ll let you know how that goes.
For me it is relatated to an iPhone 11, iOS 13.5.1, also ionic…
I chose to upgrade because in my solution, just as in the openvidu tutorial from https://github.com/OpenVidu/openvidu-call-ionic, there is an issue for iOS devices that connect with video being disabled. The stream does not initiate, and so there is no audio and the subscriber does doesn’t get any subscribers on his end. However, if the iOS user toggles the video to active, then the stream is created and the audio is maintained if the iOS user disables the video again.
I am hoping 2.15.0 solves this
I’ll let you know how my “Browser Safari (version 8+) for iOS is not supported in OpenVidu” issues goes when I’ve tested it (takes ages to build and deploy to my phone)
Okey so I still get this issue when I’ve built everything from scratch.
I am using openvidu server 2.15.0 and openvidu browser 2.15.0
I noticed that the tutorial is using 2.14.0, and that @sefa_said is also using 2.15.0
This is my platform object:
{
"description": "Safari 8+ on Apple iPhone (iOS 13.5.1)",
"layout": "WebKit",
"manufacturer": "Apple",
"name": "Safari",
"prerelease": null,
"product": "iPhone",
"ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148",
"version": "8+",
"os": {
"architecture": 32,
"family": "iOS",
"version": "13.5.1"
},
"isIonicIos": true,
"isIonicAndroid": false
}
Update: I downgraded to browser-version 2.14.0 and now the error message is gone. I will have to try to fix my other problem in some other way.
Thank you for the report and your details.
We will check it out and We’ll fix it
Please, test with openvidu-browser@2.15.1-alpha2.
We’ve fixed this issue.
Thank you it fixed with alpha2
It worked but when it started it doesn’t start with speaker. How can i start with speaker like on android
Thank you so much