Skip to content

Commit 3b988b0

Browse files
committed
set up remoteAudioElement
1 parent 98ea352 commit 3b988b0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎src/controllers/molecules/voip/CallView.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@ module.exports = {
5454
var call = CallHandler.getCall(roomId);
5555
if (call) {
5656
call.setLocalVideoElement(this.getVideoView().getLocalVideoElement());
57-
// N.B. the remote video element is used for playback for audio for voice calls
5857
call.setRemoteVideoElement(this.getVideoView().getRemoteVideoElement());
58+
// give a separate element for audio stream playback - both for voice calls
59+
// and for the voice stream of screen captures
60+
call.setRemoteAudioElement(this.getVideoView().getRemoteAudioElement());
5961
}
6062
if (call && call.type === "video" && call.state !== 'ended') {
6163
this.getVideoView().getLocalVideoElement().style.display = "initial";

0 commit comments

Comments
 (0)