JsZXingBrowserMultiFormatReaderExt extension
Properties
- stream ↔ MediaStream?
-
The stream output from camera.
getter/setter pair
- videoElement ↔ VideoElement?
-
The HTML video element, used to display the camera stream.
getter/setter pair
Methods
-
addVideoSource(
VideoElement videoElement, MediaStream stream) → void -
Defines what the
videoElement
src will be. -
decodeContinuously(
VideoElement element, BarcodeDetectionCallback callbackFn) → void - Continuously decodes from video input
-
decodeFromConstraints(
dynamic constraints, VideoElement videoSource, BarcodeDetectionCallback callbackFn) → Promise< void> -
decodeFromStream(
MediaStream stream, VideoElement videoSource, BarcodeDetectionCallback callbackFn) → Promise< void> -
decodeFromVideoElementContinuously(
VideoElement source, BarcodeDetectionCallback callbackFn) → Promise< void> -
isVideoPlaying(
VideoElement video) → bool -
prepareVideoElement(
VideoElement videoSource) → VideoElement -
reset(
) → void -
stopContinuousDecode(
) → void