summaryrefslogtreecommitdiffstats
path: root/src/components/CallView
diff options
context:
space:
mode:
authorGrigorii Shartsev <grigorii.shartsev@nextcloud.com>2023-05-02 14:29:03 +0200
committerGrigorii Shartsev <grigorii.shartsev@nextcloud.com>2023-05-02 17:06:17 +0200
commit597fe9b5c72030672b9be8aa13f3f40dda0082f5 (patch)
tree9ee8dee7068611e5e826d930bd0defc4cdced663 /src/components/CallView
parent37d0350c083929060c478ee6ac3334a2d98e3706 (diff)
Refactor: remove unused method and property
Signed-off-by: Grigorii Shartsev <grigorii.shartsev@nextcloud.com>
Diffstat (limited to 'src/components/CallView')
-rw-r--r--src/components/CallView/CallView.vue12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/components/CallView/CallView.vue b/src/components/CallView/CallView.vue
index 4e569a5ae..8ebef637a 100644
--- a/src/components/CallView/CallView.vue
+++ b/src/components/CallView/CallView.vue
@@ -34,7 +34,6 @@
<template v-if="!isGrid">
<!-- Selected video override mode -->
<div v-if="showSelectedVideo"
- ref="videoContainer"
class="video__promoted selected-video"
:class="{'full-page': isOneToOne}">
<template v-for="callParticipantModel in reversedCallParticipantModels">
@@ -72,7 +71,6 @@
</div>
<!-- Local Video Override mode (following own video) -->
<div v-else-if="showLocalVideo"
- ref="videoContainer"
class="video__promoted selected-video--local"
:class="{'full-page': isOneToOne}">
<LocalVideo ref="localVideo"
@@ -82,13 +80,11 @@
:is-big="true"
:token="token"
:local-media-model="localMediaModel"
- :video-container-aspect-ratio="videoContainerAspectRatio"
:local-call-participant-model="localCallParticipantModel"
:is-sidebar="false" />
</div>
<!-- Promoted "autopilot" mode -->
<div v-else
- ref="videoContainer"
class="video__promoted autopilot"
:class="{'full-page': isOneToOne}">
<VideoVue v-if="promotedParticipantModel"
@@ -141,7 +137,6 @@
:is-stripe="true"
:token="token"
:local-media-model="localMediaModel"
- :video-container-aspect-ratio="videoContainerAspectRatio"
:local-call-participant-model="localCallParticipantModel"
:is-sidebar="isSidebar"
@click-video="handleClickLocalVideo" />
@@ -216,7 +211,6 @@ export default {
screenVisible: true,
},
callParticipantCollection,
- videoContainerAspectRatio: 0,
}
},
computed: {
@@ -643,12 +637,6 @@ export default {
this.sharedDatas[this.screens[0]].screenVisible = true
},
- // Get the aspect ratio of the incoming stream
- getVideoContainerAspectRatio() {
- const videoContainerWidth = this.$refs.videoContainer.clientWidth
- const VideoContainerHeight = this.$refs.videoContainer.clientHeight
- this.videoContainerAspectRatio = videoContainerWidth / VideoContainerHeight
- },
handleSelectVideo(peerId) {
if (this.isSidebar) {
return