Core.js:19865 ERROR TypeError: Cannot read property 'getDisplayMedia' of undefined

Getting below error on screen share button

core.js:19865 ERROR TypeError: Cannot read property ‘getDisplayMedia’ of undefined

Any idea what might be wrong ???

Hey @work.amey27, thanks for posting and using Zoom!

Can you please share your code (github repo link) and steps to reproduce the issue so I can debug?

Thanks,
Tommy

When setting up a new project screen share works perfectly. Its throwing above error when implemented in my project. Is it the related to version issue ?? im sharing my package.json

{
“name”: “admin-dashboard”,
“version”: “1.12.0”,
“scripts”: {
“ng”: “ng”,
“start”: “node server.js”,
“build”: “ng build --aot --prod --configuration=${environment}”,
“test”: “ng test”,
“lint”: “ng lint --type-check”,
“e2e”: “ng e2e”,
“precommit”: “lint-staged”,
“prettify”: “prettier --write ./**/*.{json,css,scss,md,js,ts}”
},
“private”: true,
“dependencies”: {
@angular-devkit/build-angular”: “^0.13.9”,
@angular/animations”: “^7.2.5”,
@angular/cdk”: “^7.3.2”,
@angular/cli”: “^7.3.2”,
@angular/common”: “^7.2.5”,
@angular/compiler”: “^7.2.5”,
@angular/compiler-cli”: “^7.2.6”,
@angular/core”: “^7.2.5”,
@angular/forms”: “^7.2.5”,
@angular/http”: “^7.2.5”,
@angular/material”: “^7.3.2”,
@angular/platform-browser”: “^7.2.5”,
@angular/platform-browser-dynamic”: “^7.2.5”,
@angular/router”: “^7.2.5”,
@mace/prettier-schematics”: “^0.4.1”,
@ng-bootstrap/ng-bootstrap”: “^4.0.3”,
@zoomus/websdk”: “^1.7.0”,
“angular-pipes”: “^9.1.0”,
“angular-user-idle”: “^2.1.1”,
“angular5-csv”: “^0.2.11”,
“bootstrap”: “^4.3.1”,
“braces”: “^2.3.2”,
“core-js”: “^2.6.5”,
“express”: “^4.16.4”,
“firebase”: “^6.3.0”,
“hammerjs”: “^2.0.8”,
“heroku-ssl-redirect”: “0.0.4”,
“html2canvas”: “^1.0.0-alpha.12”,
“jquery-ui”: “^1.12.1”,
“jquery-ui-dist”: “^1.12.1”,
“jspdf”: “^1.5.3”,
“material-design-icons”: “^3.0.1”,
“ng2-mqtt”: “^0.1.2”,
“ngx-image-cropper”: “^1.4.1”,
“ngx-papaparse”: “^3.0.3”,
“path”: “^0.12.7”,
“popper.js”: “^1.14.7”,
“rxjs”: “^6.4.0”,
“sendbird”: “^3.0.96”,
“twilio-video”: “^1.18.2”,
“typescript”: “~3.2.4”,
“zone.js”: “~0.8.29”
},
“devDependencies”: {
@angular/language-service”: “^7.2.5”,
@types/jasmine”: “^2.8.16”,
@types/jasminewd2”: “^2.0.6”,
@types/node”: “~8.9.4”,
“codelyzer”: “~4.3.0”,
“enhanced-resolve”: “^4.1.0”,
“husky”: “^0.14.3”,
“jasmine-core”: “~2.99.1”,
“jasmine-spec-reporter”: “~4.2.1”,
“jquery”: “^3.4.0”,
“karma”: “^4.0.1”,
“karma-chrome-launcher”: “~2.2.0”,
“karma-coverage-istanbul-reporter”: “^2.0.5”,
“karma-jasmine”: “~1.1.2”,
“karma-jasmine-html-reporter”: “^0.2.2”,
“karma-parallel”: “^0.3.1”,
“karma-spec-reporter”: “0.0.32”,
“lint-staged”: “^7.3.0”,
“node-sass”: “^4.12.0”,
“nutrition-label-jquery-plugin”: “^8.0.15”,
“prettier”: “^1.16.4”,
“protractor”: “^5.4.2”,
“ts-node”: “~7.0.0”,
“tslib”: “^1.9.3”,
“tslint”: “~5.11.0”,
“tslint-eslint-rules”: “^5.4.0”
},
“engines”: {
“node”: “10.16.0”,
“npm”: “6.10.2”
},
“heroku-run-build-script”: true
}

Hey @work.amey27,

Thanks for sharing your package.json.

Please share the rest of your code, or your Angular Component file where you are implementing the Web SDK so I can debug.

Thanks,
Tommy