I am seeing “Access to screen denied” in “basic_example” application
DEBUG: Screen access on chrome stable, looking for extension
erizo.js:180 ERROR: Access to screen denied
erizo.js:180 ERROR: Failed to get access to local media. Error code was Access to screen denied.
erizo.js:180 DEBUG: Event: access-denied
I have set the “screen” property to true (And I am also using ssl/https. Have also installed chrome screen sharing plugin)
var screen = true;
var config = {audio: true,
video: true,
data: true,
screen: screen,
videoSize: [640, 480, 640, 480],
videoFrameRate: [10, 20]};
// If we want screen sharing we have to put our Chrome extension id.
// The default one only works in our Lynckia test servers.
// If we are not using chrome, the creation of the stream will fail regardless.
if (screen){
config.extensionId = ‘okeephmleflklcdebijnponpabbmmgeo’;
console.log(‘screen sharing is set to true. chrome extension id:’, config.extensionId);
}
I also looked at demo source code, which doesn’t do anything differently than basic_example, except it executes the screen sharing code upon hitting “share” button, but that shouldn’t matter.
Any ideas, how to resolve this ?