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 non-screensharing calls
This commit is contained in:
@@ -516,8 +516,10 @@ MatrixCall.prototype._gotUserMediaForInvite = function(stream) {
|
|||||||
}, 0);
|
}, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.screenSharingStream) {
|
||||||
this.screenSharingStream.addTrack(stream.getAudioTracks()[0]);
|
this.screenSharingStream.addTrack(stream.getAudioTracks()[0]);
|
||||||
stream = this.screenSharingStream;
|
stream = this.screenSharingStream;
|
||||||
|
}
|
||||||
|
|
||||||
this.localAVStream = stream;
|
this.localAVStream = stream;
|
||||||
// why do we enable audio (and only audio) tracks here? -- matthew
|
// why do we enable audio (and only audio) tracks here? -- matthew
|
||||||
|
|||||||
Reference in New Issue
Block a user