DEV Community

Discussion on: Screen Recording in 10 lines of Vanilla JS

Collapse
 
sneuf_b999a97b3ff profile image
Scott Neufeld

Hi Sebastian -

I'm getting this error in latest Chrome build, what security settings do I need to change?

"Failed to execute 'getDisplayMedia' on 'MediaDevices': Access to the feature "display-capture" is disallowed by permission policy."

Also -- looking to implement this server-side with headless Chrome, any thoughts on this and whether I'll be able to include sound?

Thanks!