You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
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:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user