You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.
Describe the bug
on web platform, when i start the scan and call stopScan before the camera fully loaded i get the following error: Uncaught (in promise) TypeError: st is null on st.getTracks() in the following function:
var _a;
if (this._video) {
this._video.pause();
const st = this._video.srcObject;
const tracks = st.getTracks();
for (var i = 0; i < tracks.length; i++) {
var track = tracks[i];
track.stop();
}
(_a = this._video.parentElement) === null || _a === void 0 ? void 0 : _a.remove();
this._video = null;
}
}```
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
on web platform, when i start the scan and call stopScan before the camera fully loaded i get the following error: Uncaught (in promise) TypeError: st is null on st.getTracks() in the following function:
The text was updated successfully, but these errors were encountered: