You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
Fix browser screen share
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -372,7 +372,7 @@ export class MatrixCall extends EventEmitter {
|
|||||||
this.localVideoElement = localVideoElement;
|
this.localVideoElement = localVideoElement;
|
||||||
this.remoteVideoElement = remoteVideoElement;
|
this.remoteVideoElement = remoteVideoElement;
|
||||||
|
|
||||||
if (window.electron.getDesktopCapturerSources) {
|
if (window.electron?.getDesktopCapturerSources) {
|
||||||
// We have access to getDesktopCapturerSources()
|
// We have access to getDesktopCapturerSources()
|
||||||
logger.debug("Electron getDesktopCapturerSources() is available...");
|
logger.debug("Electron getDesktopCapturerSources() is available...");
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user