Move screen sharing error check into platform

Because on the browser it depends on HTTPS, on electron it doesn't
matter.
This commit is contained in:
David Baker 2017-01-10 18:37:57 +00:00
parent 085f134e84
commit a16aae1124
2 changed files with 16 additions and 0 deletions

View file

@ -73,4 +73,13 @@ export default class BasePlatform {
getAppVersion() {
throw new Error("getAppVersion not implemented!");
}
/*
* If it's not expected that capturing the screen will work
* with getUserMedia, return a string explaining why not.
* Otherwise, return null.
*/
screenCaptureErrorString() {
return "Not implemented";
}
}