1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

Fixed a slight error back to orignal in ScreenShareCall

This commit is contained in:
Ayush PS
2021-03-25 23:02:44 +05:30
parent b28a191c4e
commit 20b20738a7

View File

@@ -396,7 +396,6 @@ export class MatrixCall extends EventEmitter {
logger.debug("Got screen stream, requesting audio stream...");
const audioConstraints = getUserMediaContraints(ConstraintsType.Audio);
this.type = CallType.Video;
this.placeCallWithConstraints(audioConstraints);
} catch (err) {
this.emit(CallEvent.Error,
@@ -406,7 +405,7 @@ export class MatrixCall extends EventEmitter {
),
);
}
this.type = CallType.Video;
}
public getOpponentMember() {