Update OpenVidu.ts

Typo fix
pull/531/head
Richard Gustavsson 2020-09-04 01:00:42 +02:00 committed by GitHub
parent d1ecd92796
commit 072543a5ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -341,7 +341,7 @@ export class OpenVidu {
const family = platform.os!!.family;
const userAgent = !!platform.ua ? platform.ua : navigator.userAgent;
if (isIPhone || isIPhone) {
if (isIPhone || isIPad) {
if(this.isIOSWithSafari(userAgent) || platform['isIonicIos']){
return 1;
}