We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc8aba4 commit b518d1fCopy full SHA for b518d1f
identity/demos/self_capture_detection/index.html
@@ -188,7 +188,7 @@ <h3>Demo operation:</h3>
188
video.srcObject = stream;
189
let [track] = stream.getVideoTracks();
190
track.oncapturehandlechange = (event) => {
191
- captureHandle = newVersion ? event.captureHandle() : event.captureHandle;
+ captureHandle = newVersion ? event.target.getCaptureHandle() : event.captureHandle;
192
update();
193
};
194
captureHandle = getCaptureHandle(stream);
0 commit comments