This sequence of code causes an exception:
this.client = ZoomVideo.createClient();
const initRes = await this.client.init(
'en-US',
'http://192.168.1.172:3333/@zoomus/instantsdk/dist/lib'
);
However the same call made to/using localhost, on the computer assigned to IP
192.168.1.172, is working just fine.
And the files in the SDK are reachable when that IP url is entered in a browser address line. (e.g. http:// 192.168.1.172:3333/ @zoomus/instantsdk/dist/lib/webim.min.js - minus spaces, which I just put in to prevent this editor from making the URL clickable - returns the minified JS file specified)
What may be the issue here?
This is the console error that we’re getting:
TypeError: Cannot read property 'getDisplayMedia' of undefined
at Function.checkSystemRequirements (index.umd.js:1)
at t.value (index.umd.js:1)
at VideoService.<anonymous> (video.service.ts:82)
at Generator.next (<anonymous>)
at tslib.es6.js:73
at new ZoneAwarePromise (zone-evergreen.js:960)
at __awaiter (tslib.es6.js:69)
at VideoService.launchVideo (video.service.ts:70)
at VideoChatComponent.<anonymous> (video-chat.component.ts:24)
at Generator.next (<anonymous>)
Web Video SDK version 1.0.3
Running in Angular 11.0.2, Testing in latest Google Chrome