五叶神
五叶神
  • 发布:2024-01-26 18:05
  • 更新:2024-01-30 17:13
  • 阅读:126

LivePusher IOS机器中无法全屏

分类:HTML5+
mui

plus.navigator.setStatusBarStyle('light')
pusher = new plus.video.LivePusher('pusher', {
mode: 'FHD',
muted: true,
'auto-focus': localStorage.autoFocus == 'false'? false : true,
aspect: aspect < 0.5 ? '' : '9:16'
})
setTimeout(() => {
pusher.preview()
},1000)

             pusher.addEventListener('error', function(e) {  
                console.log(JSON.stringify(e.detail))  
             }, false)  

            ws = plus.webview.currentWebview()  
            var sceneId = ws.sceneId,  
                status = ws.status  

            var subpage = plus.webview.create('livetool.html', 'livetool.html', {  
                top: 0,  
                bottom: 0,  
                background: 'transparent'  
            }, {  
                sceneId,  
                status  
            })  
            ws.append(subpage)
2024-01-26 18:05 负责人:无 分享
已邀请:
iOSDeveloper

iOSDeveloper - 专注于iOS相关领域。联系QQ:752562065

错误信息返回什么

  • 五叶神 (作者)

    没有错误信息,能显示只是没有全屏

    2024-02-01 14:20

  • 五叶神 (作者)

    麻烦大佬看一下,代码和截图已经更新

    2024-02-01 14:29

iOSDeveloper

iOSDeveloper - 专注于iOS相关领域。联系QQ:752562065

错误信息返回什么

要回复问题请先登录注册