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
Fixed a slight error back to orignal in ScreenShareCall
This commit is contained in:
@@ -396,7 +396,6 @@ export class MatrixCall extends EventEmitter {
|
|||||||
|
|
||||||
logger.debug("Got screen stream, requesting audio stream...");
|
logger.debug("Got screen stream, requesting audio stream...");
|
||||||
const audioConstraints = getUserMediaContraints(ConstraintsType.Audio);
|
const audioConstraints = getUserMediaContraints(ConstraintsType.Audio);
|
||||||
this.type = CallType.Video;
|
|
||||||
this.placeCallWithConstraints(audioConstraints);
|
this.placeCallWithConstraints(audioConstraints);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.emit(CallEvent.Error,
|
this.emit(CallEvent.Error,
|
||||||
@@ -406,7 +405,7 @@ export class MatrixCall extends EventEmitter {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
this.type = CallType.Video;
|
||||||
}
|
}
|
||||||
|
|
||||||
public getOpponentMember() {
|
public getOpponentMember() {
|
||||||
|
|||||||
Reference in New Issue
Block a user