@sdk185/sip-phone-sdk26 0.2.6 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sdk185/sip-phone-sdk26",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -115,7 +115,9 @@
115
115
  ref="remoteVideo"
116
116
  class="sip-call-video"
117
117
  style="object-fit: contain;"
118
-
118
+ controls
119
+ controlsList="nodownload nofullscreen noremoteplayback"
120
+ disablepictureinpicture
119
121
  ></video>
120
122
  </vue-draggable-resizable>
121
123
  <!-- 本地视频窗口 -->
@@ -1012,6 +1014,12 @@ export default {
1012
1014
  this.$nextTick(() => {
1013
1015
  this.showAudioPlayer = false
1014
1016
  })
1017
+ },
1018
+
1019
+ beforeDestroy(){
1020
+ this.stopDurationCount();
1021
+ this.sipMix = null;
1022
+ SipMix.destroyInstance()
1015
1023
  }
1016
1024
  }
1017
1025
  </script>