3***@qq.com
3***@qq.com
  • 发布:2025-11-07 18:04
  • 更新:2025-11-07 18:04
  • 阅读:10

【报Bug】camera.startVideoCapture 在苹果手机调用摄像头,竖屏录制,会变成横屏

分类:HTML5+

产品分类: HTML5+

HBuilderX版本号: 4.76

手机系统: iOS

手机系统版本号: iOS 18

手机厂商: 苹果

手机机型: 13

打包方式: 云端

操作步骤:

await this.$plus.isAuthCamera();
await this.$plus.isAuthRecord(); // 录音权限
const camera = window.plus.camera.getCamera();
camera.startVideoCapture((res) => {
this.handleImage(res);
}, () => {
}, {
filename: '_doc/camera/',
videoPixelFormat: 'mp4'
});

预期结果:

竖屏显示

实际结果:

横屏显示

bug描述:

camera.startVideoCapture 在苹果手机调用摄像头,竖屏录制,会变成横屏

2025-11-07 18:04 负责人:无 分享
已邀请:

要回复问题请先登录注册