Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2021-08-11 14:45:30 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2021-08-11 15:01:59 +0300
commitb8d54947822dee84c113c048ea2c25dd9c5e495a (patch)
treede75865dbd92a1f4fc1c0f716d644b7db76a6ea3 /src/PublicShareSidebar.vue
parent94c22ee79695fde8db5dfe31e08cb6b39a16da43 (diff)
Fix duplicated registration of audio encoder
The audio encoder is initialized when the AudioRecorder component is mounted, and the store keeps track of whether the audio encoder was already initialized to not do it again. However, the audio encoder was also unconditionally registered in the main components of the main and sidebar Talk UIs, which caused a duplicated registration when the audio encoder was initialized (as the store did not "know" that it was already registered). Due to all this the unconditional registration is removed (which also avoids registering the audio encoder when it will not be needed, like when the current user is a guest without upload permissions). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'src/PublicShareSidebar.vue')
-rw-r--r--src/PublicShareSidebar.vue7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/PublicShareSidebar.vue b/src/PublicShareSidebar.vue
index 475659d5c..490e9a083 100644
--- a/src/PublicShareSidebar.vue
+++ b/src/PublicShareSidebar.vue
@@ -61,8 +61,6 @@ import isInCall from './mixins/isInCall'
import participant from './mixins/participant'
import talkHashCheck from './mixins/talkHashCheck'
import '@nextcloud/dialogs/styles/toast.scss'
-import { register } from 'extendable-media-recorder'
-import { connect } from 'extendable-media-recorder-wav-encoder'
export default {
@@ -133,11 +131,6 @@ export default {
})
},
- async mounted() {
- // Initialise audiorecorder encoder
- await register(await connect())
- },
-
methods: {
async joinConversation() {