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:
authorMarco Ambrosini <marcoambrosini@pm.me>2021-07-07 15:12:22 +0300
committerMarco Ambrosini <marcoambrosini@pm.me>2021-07-07 15:16:15 +0300
commit1fb72c80e5283b80cdbefb7dd120bcac8bf3c464 (patch)
treee0cdf3a741211aee1b8494016c62cec06c5a3665 /src/FilesSidebarTabApp.vue
parent2144b606228aa40b2fc21f298a3e17ad9a754152 (diff)
Initialize the wav encoder in the entry points instead of in the audiorecorder component
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
Diffstat (limited to 'src/FilesSidebarTabApp.vue')
-rw-r--r--src/FilesSidebarTabApp.vue7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/FilesSidebarTabApp.vue b/src/FilesSidebarTabApp.vue
index 47c958e1f..e447391f3 100644
--- a/src/FilesSidebarTabApp.vue
+++ b/src/FilesSidebarTabApp.vue
@@ -66,6 +66,8 @@ import ChatView from './components/ChatView'
import sessionIssueHandler from './mixins/sessionIssueHandler'
import browserCheck from './mixins/browserCheck'
import '@nextcloud/dialogs/styles/toast.scss'
+import { register } from 'extendable-media-recorder'
+import { connect } from 'extendable-media-recorder-wav-encoder'
export default {
@@ -138,6 +140,11 @@ export default {
},
},
+ async mounted() {
+ // Initialise audiorecorder encoder
+ register(await connect())
+ },
+
created() {
// The fetchCurrentConversation event handler/callback is started and
// stopped from different FilesSidebarTabApp instances, so it needs to