You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-01 04:43:29 +03:00
Remove config as it wasn't used
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -284,9 +284,6 @@ export class MatrixCall extends EventEmitter {
|
|||||||
private screensharingSenders: Array<RTCRtpSender>;
|
private screensharingSenders: Array<RTCRtpSender>;
|
||||||
private inviteOrAnswerSent: boolean;
|
private inviteOrAnswerSent: boolean;
|
||||||
private waitForLocalAVStream: boolean;
|
private waitForLocalAVStream: boolean;
|
||||||
// XXX: I don't know why this is called 'config'.
|
|
||||||
// XXX: Do we even needs this? Seems to be unused
|
|
||||||
private config: MediaStreamConstraints;
|
|
||||||
private successor: MatrixCall;
|
private successor: MatrixCall;
|
||||||
private opponentMember: RoomMember;
|
private opponentMember: RoomMember;
|
||||||
private opponentVersion: number;
|
private opponentVersion: number;
|
||||||
@@ -1800,7 +1797,6 @@ export class MatrixCall extends EventEmitter {
|
|||||||
this.client.callEventHandler.calls.set(this.callId, this);
|
this.client.callEventHandler.calls.set(this.callId, this);
|
||||||
this.setState(CallState.WaitLocalMedia);
|
this.setState(CallState.WaitLocalMedia);
|
||||||
this.direction = CallDirection.Outbound;
|
this.direction = CallDirection.Outbound;
|
||||||
this.config = constraints;
|
|
||||||
|
|
||||||
// make sure we have valid turn creds. Unless something's gone wrong, it should
|
// make sure we have valid turn creds. Unless something's gone wrong, it should
|
||||||
// poll and keep the credentials valid so this should be instant.
|
// poll and keep the credentials valid so this should be instant.
|
||||||
|
|||||||
Reference in New Issue
Block a user