Skip to content

Camera Indexing Bug: Huawei Meta 80 Rear Camera unreachable in WeChat / Zoomed-in in Chrome #17

@MVC-Yanis

Description

@MVC-Yanis

Dear 8thWall Support,

We are facing a critical camera mapping issue on the Huawei Meta 80 (HarmonyOS). Our standard WebAR project works perfectly on iOS but fails on this specific hardware.

  1. The Problem:

WeChat (X5 Kernel): Opens the Front camera by default. Even with cameraDirection: BACK or a specific deviceId, it remains stuck on the front view.

Chrome: Opens the Telephoto lens (extreme zoom) instead of the Primary Wide lens.

  1. Technical Evidence:

WebRTC Test: A standard getUserMedia test confirms the Rear Camera is at Index 0 on this device.

XR8 Conflict: The 8thWall Camera Pipeline appears to skip Index 0 or misidentify it as a front sensor, causing a fallback to the actual front camera.

Manual Override: Using onBeforeRun to force config.cameraConfig.id does not override this behavior in WeChat.

  1. Request:
    Could you please verify the camera indexing logic for the Huawei Meta 80? We need to be able to force the engine to use Index 0 (Primary Rear) without it being overridden by internal SLAM filtering.

Attached: Console logs and device hardware info.

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions