mirror of https://github.com/OpenVidu/openvidu.git
parent
d1ecd92796
commit
072543a5ab
|
@ -341,7 +341,7 @@ export class OpenVidu {
|
||||||
const family = platform.os!!.family;
|
const family = platform.os!!.family;
|
||||||
const userAgent = !!platform.ua ? platform.ua : navigator.userAgent;
|
const userAgent = !!platform.ua ? platform.ua : navigator.userAgent;
|
||||||
|
|
||||||
if (isIPhone || isIPhone) {
|
if (isIPhone || isIPad) {
|
||||||
if(this.isIOSWithSafari(userAgent) || platform['isIonicIos']){
|
if(this.isIOSWithSafari(userAgent) || platform['isIonicIos']){
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
@ -1064,4 +1064,4 @@ export class OpenVidu {
|
||||||
return /\b(\w*Apple\w*)\b/.test(navigator.vendor) && /\b(\w*Safari\w*)\b/.test(userAgent)
|
return /\b(\w*Apple\w*)\b/.test(navigator.vendor) && /\b(\w*Safari\w*)\b/.test(userAgent)
|
||||||
&& !/\b(\w*CriOS\w*)\b/.test(userAgent) && !/\b(\w*FxiOS\w*)\b/.test(userAgent);
|
&& !/\b(\w*CriOS\w*)\b/.test(userAgent) && !/\b(\w*FxiOS\w*)\b/.test(userAgent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue