• Uses MediaStreamTrackProcessor to capture a VideoFrame from the camera. Skips the test if not supported.

    Parameters

    • test: Fixture<SubcaseBatchState>
    • videoTrackConstraints: true | MediaTrackConstraints

      MediaTrackConstraints (e.g. width/height) to pass to getUserMedia(), or true if none.

    Returns Promise<VideoFrame>

Generated using TypeDoc