Skip to content
Snippets Groups Projects
Commit 3b988b0e authored by Matthew Hodgson's avatar Matthew Hodgson
Browse files

set up remoteAudioElement

parent 98ea3525
Branches
No related tags found
No related merge requests found
......@@ -54,8 +54,10 @@ module.exports = {
var call = CallHandler.getCall(roomId);
if (call) {
call.setLocalVideoElement(this.getVideoView().getLocalVideoElement());
// N.B. the remote video element is used for playback for audio for voice calls
call.setRemoteVideoElement(this.getVideoView().getRemoteVideoElement());
// give a separate element for audio stream playback - both for voice calls
// and for the voice stream of screen captures
call.setRemoteAudioElement(this.getVideoView().getRemoteAudioElement());
}
if (call && call.type === "video" && call.state !== 'ended') {
this.getVideoView().getLocalVideoElement().style.display = "initial";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment