We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaaf625 commit cc8aba4Copy full SHA for cc8aba4
identity/demos/remote_control/capturer.html
@@ -114,7 +114,7 @@ <h1 style="text-align: center">Remote Control using Capture Handle Demo</h1>
114
video.srcObject = stream;
115
let [track] = stream.getVideoTracks();
116
track.oncapturehandlechange = (event) => {
117
- captureHandle = newVersion ? event.captureHandle() : event.captureHandle;
+ captureHandle = newVersion ? event.target.getCaptureHandle() : event.captureHandle;
118
};
119
captureHandle = getCaptureHandle(stream);
120
if (!!track.focus && captureHandle) {
0 commit comments