Minimal CSS bodge so the video actually dies when the call ends.
This commit is contained in:
parent
7ffd97b5dc
commit
eedd437ca7
1 changed files with 6 additions and 0 deletions
|
@ -50,9 +50,15 @@ module.exports = {
|
||||||
}
|
}
|
||||||
var call = CallHandler.getCall(payload.room_id);
|
var call = CallHandler.getCall(payload.room_id);
|
||||||
if (call) {
|
if (call) {
|
||||||
|
this.getVideoView().getLocalVideoElement().style.display = "initial";
|
||||||
|
this.getVideoView().getRemoteVideoElement().style.display = "initial";
|
||||||
call.setLocalVideoElement(this.getVideoView().getLocalVideoElement());
|
call.setLocalVideoElement(this.getVideoView().getLocalVideoElement());
|
||||||
call.setRemoteVideoElement(this.getVideoView().getRemoteVideoElement());
|
call.setRemoteVideoElement(this.getVideoView().getRemoteVideoElement());
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
this.getVideoView().getLocalVideoElement().style.display = "none";
|
||||||
|
this.getVideoView().getRemoteVideoElement().style.display = "none";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue