4***@qq.com
4***@qq.com
  • 发布:2024-01-25 10:58
  • 更新:2024-01-25 10:58
  • 阅读:59

【报Bug】LivePusher IOS机器中无法全屏

分类:HTML5+

产品分类: HTML5+

HBuilderX版本号: 3.99

手机系统: iOS

手机系统版本号: iOS 17

手机厂商: 苹果

手机机型: 全部

打包方式: 云端

示例代码:

mui.plusReady(function () {
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)

操作步骤:

进入页面就能看到

预期结果:

底部没有白条

实际结果:

底部有白条

bug描述:

LivePusher在ios机器中全部底部会留白条

2024-01-25 10:58 负责人:无 分享
已邀请:

要回复问题请先登录注册