MCPcopy Index your code
hub / github.com/cirocosta/qcode-decoder / QCodeDecoder

Function QCodeDecoder

src/qcode-decoder.js:14–22  ·  view source on GitHub ↗

* Constructor for QCodeDecoder

()

Source from the content-addressed store, hash-verified

12 * Constructor for QCodeDecoder
13 */
14function QCodeDecoder () {
15 if (!(this instanceof QCodeDecoder))
16 return new QCodeDecoder();
17
18 this.timerCapture = null;
19 this.canvasElem = null;
20 this.stream = null;
21 this.videoConstraints = {video: true, audio: false};
22}
23
24/**
25 * Verifies if canvas element is supported.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected