1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00

webrtc/call: Unmute remote audio element when setting

This commit is contained in:
Robert Swain
2017-04-18 14:29:52 +02:00
parent 88948c3cfd
commit dd2a870227

View File

@@ -335,6 +335,7 @@ MatrixCall.prototype.setRemoteVideoElement = function(element) {
MatrixCall.prototype.setRemoteAudioElement = function(element) { MatrixCall.prototype.setRemoteAudioElement = function(element) {
this.remoteVideoElement.muted = true; this.remoteVideoElement.muted = true;
this.remoteAudioElement = element; this.remoteAudioElement = element;
this.remoteAudioElement.muted = false;
_tryPlayRemoteAudioStream(this); _tryPlayRemoteAudioStream(this);
}; };