Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iphone11 无法直播问题处理方法 #60

Open
guoguicheng opened this issue Jun 18, 2020 · 0 comments
Open

iphone11 无法直播问题处理方法 #60

guoguicheng opened this issue Jun 18, 2020 · 0 comments

Comments

@guoguicheng
Copy link
Owner

加在 var vr=new VR(...);之后
var bIsIpad = navigator.userAgent.match(/ipad/i) == "ipad";
var bIsIphoneOs = navigator.userAgent.match(/iphone os/i) == "iphone os";
var bIsMacOs = /macintosh|mac os x/i.test(navigator.userAgent);
console.log(bIsIpad,bIsIphoneOs,bIsMacOs);
if(bIsIpad || bIsIphoneOs || bIsMacOs){
vr.liveSettings.forceUseVndAppleMpegUrl=true;
}

@guoguicheng guoguicheng changed the title iphone11 无法播放问题处理方法 iphone11 无法直播问题处理方法 Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant