Only display video elements in video calls.
This commit is contained in:
parent
eedd437ca7
commit
50f9d34211
2 changed files with 4 additions and 2 deletions
|
@ -49,7 +49,7 @@ module.exports = {
|
|||
return;
|
||||
}
|
||||
var call = CallHandler.getCall(payload.room_id);
|
||||
if (call) {
|
||||
if (call && call.type === "video") {
|
||||
this.getVideoView().getLocalVideoElement().style.display = "initial";
|
||||
this.getVideoView().getRemoteVideoElement().style.display = "initial";
|
||||
call.setLocalVideoElement(this.getVideoView().getLocalVideoElement());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue