Skip to content

Commit 05b342f

Browse files
committed
Remove mistaken parameter
Signed-off-by: Šimon Brandner <[email protected]>
1 parent eb1876b commit 05b342f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/webrtc/call.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ export class MatrixCall extends EventEmitter {
12091209
setTracksEnabled(this.localUsermediaStream.getVideoTracks(), !vidShouldBeMuted);
12101210
}
12111211

1212-
private gotCallFeedsForInvite(callFeeds: CallFeed[], requestScreenshareFeed = false): void {
1212+
private gotCallFeedsForInvite(callFeeds: CallFeed[]): void {
12131213
if (this.successor) {
12141214
this.successor.gotCallFeedsForAnswer(callFeeds);
12151215
return;
@@ -2083,7 +2083,7 @@ export class MatrixCall extends EventEmitter {
20832083
* @throws if you have not specified a listener for 'error' events.
20842084
* @throws if have passed audio=false.
20852085
*/
2086-
public async placeCallWithCallFeeds(callFeeds: CallFeed[], requestScreenshareFeed = false): Promise<void> {
2086+
public async placeCallWithCallFeeds(callFeeds: CallFeed[]): Promise<void> {
20872087
this.checkForErrorListener();
20882088
this.direction = CallDirection.Outbound;
20892089

@@ -2100,7 +2100,7 @@ export class MatrixCall extends EventEmitter {
21002100
// create the peer connection now so it can be gathering candidates while we get user
21012101
// media (assuming a candidate pool size is configured)
21022102
this.peerConn = this.createPeerConnection();
2103-
this.gotCallFeedsForInvite(callFeeds, requestScreenshareFeed);
2103+
this.gotCallFeedsForInvite(callFeeds);
21042104
}
21052105

21062106
private createPeerConnection(): RTCPeerConnection {

0 commit comments

Comments
 (0)