diff --git a/src/assets/quasar-logo-full.svg b/src/assets/quasar-logo-full.svg
deleted file mode 100644
index 281d0729..00000000
--- a/src/assets/quasar-logo-full.svg
+++ /dev/null
@@ -1,191 +0,0 @@
-
-
-
-
diff --git a/src/components/CscCall.vue b/src/components/CscCall.vue
index 37c05ec9..8a1ceda6 100644
--- a/src/components/CscCall.vue
+++ b/src/components/CscCall.vue
@@ -1,6 +1,6 @@
-
+
@@ -59,6 +59,14 @@
validationEnabled: false
}
},
+ updated() {
+ if(this.$store.state.call.callState === 'incoming' ||
+ this.$store.state.call.callState === 'ringing') {
+ this.$refs.incomingSound.play();
+ } else {
+ this.$refs.incomingSound.pause();
+ }
+ },
components: {
QLayout,
QCard,
@@ -105,6 +113,12 @@
close() {
this.$store.commit('call/inputNumber');
this.$emit('close');
+ },
+ playIncomingSound() {
+ this.$refs.incomingRinging.play();
+ },
+ stopIncomingSound() {
+ this.$refs.incomingRinging.stop();
}
},
computed: {
@@ -208,4 +222,5 @@
text-align: center;
color: #adb3b8;
}
+
diff --git a/src/statics/ring.mp3 b/src/statics/ring.mp3
new file mode 100644
index 00000000..ab628f96
Binary files /dev/null and b/src/statics/ring.mp3 differ
diff --git a/src/store/call.js b/src/store/call.js
index 05f005af..3bccca8f 100644
--- a/src/store/call.js
+++ b/src/store/call.js
@@ -1,8 +1,5 @@
'use strict';
-// import { loadCdkLib, connectDefaultCdkNetwork } from '../helpers/cdk-lib';
-// import { createSessionToken } from '../api/rtcsession';
-
import Vue from 'vue';
export var CallState = {