3***@qq.com
3***@qq.com
  • 发布:2024-06-14 09:15
  • 更新:2024-06-14 09:15
  • 阅读:28

plus.video.createLivePusher创建推流控件,使用snapshot生成快照但是快照图片的分辨率很低,如何切换usb摄像头的最高分辨率

分类:HTML5+

this.pusher = plus.video.createLivePusher(this.pusherId, {
url: '',
mode: 'FHD',
top: '-100px',
left: '0px',
width: '60%',
height: '1080px',
position: 'absolute',
aspect: '9:16',
'auto-focus': true,
"min-bitrate": 4000,
"max-bitrate": 6000,
muted: true
});

这是我usb摄像头支持的分辨率:
[ "320240", "640480", "800600","960720", "1024768", "1280720","1280960","16001200","19201080", "20481536", "25921944", "38402160", "3840*2880"]

这是我快照生成图片像素:
{
"width": "320",
"height": "240",
"tempImagePath": "/storage/emulated/0/Android/data/uni.xx/apps/xx/doc/2024-06-14-09-12-05-137.jpg"
}

请问怎么提高快照的像素?

2024-06-14 09:15 负责人:无 分享
已邀请:

要回复问题请先登录注册