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-02-01 14:20
五叶神 (作者)
麻烦大佬看一下,代码和截图已经更新
2024-02-01 14:29