Type Alias StartResult

StartResult: {
    dispose: (() => void);
    videoEl: HTMLVideoElement;
}

Result from starting a camera

Type declaration

  • Readonlydispose: (() => void)

    Call dispose to stop the camera feed and remove any created resources, such as a VIDEO element

      • (): void
      • Returns void

  • ReadonlyvideoEl: HTMLVideoElement

    Video element camera is connected to