Skip to content

Commit cc8aba4

Browse files
authored
Update capturer.html
1 parent eaaf625 commit cc8aba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

identity/demos/remote_control/capturer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h1 style="text-align: center">Remote Control using Capture Handle Demo</h1>
114114
video.srcObject = stream;
115115
let [track] = stream.getVideoTracks();
116116
track.oncapturehandlechange = (event) => {
117-
captureHandle = newVersion ? event.captureHandle() : event.captureHandle;
117+
captureHandle = newVersion ? event.target.getCaptureHandle() : event.captureHandle;
118118
};
119119
captureHandle = getCaptureHandle(stream);
120120
if (!!track.focus && captureHandle) {

0 commit comments

Comments
 (0)