MenuUse this method to check if your chrome screen sharing extension is installed and enabled
connection.getChromeExtensionStatus('optional-extensionid', function(status) {
if(status == 'installed-enabled') {
// chrome extension is installed & enabled.
}
if(status == 'installed-disabled') {
// chrome extension is installed but disabled.
}
if(status == 'not-installed') {
// chrome extension is not installed
}
if(status == 'not-chrome') {
// using non-chrome browser
}
});