@sdk185/sip-phone-sdk26 0.2.17 → 0.2.20

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.
@@ -1367,17 +1367,6 @@ module.exports = function (it, Prototype) {
1367
1367
  };
1368
1368
 
1369
1369
 
1370
- /***/ }),
1371
-
1372
- /***/ "19bc":
1373
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1374
-
1375
- "use strict";
1376
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_1_id_5e7d1922_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("bc62");
1377
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_1_id_5e7d1922_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_1_id_5e7d1922_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
1378
- /* unused harmony reexport * */
1379
-
1380
-
1381
1370
  /***/ }),
1382
1371
 
1383
1372
  /***/ "1a2d":
@@ -3081,6 +3070,13 @@ exportTypedArrayMethod('toSorted', function toSorted(compareFn) {
3081
3070
  });
3082
3071
 
3083
3072
 
3073
+ /***/ }),
3074
+
3075
+ /***/ "289f":
3076
+ /***/ (function(module, exports, __webpack_require__) {
3077
+
3078
+ // extracted by mini-css-extract-plugin
3079
+
3084
3080
  /***/ }),
3085
3081
 
3086
3082
  /***/ "2a07":
@@ -19073,17 +19069,6 @@ module.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function
19073
19069
  } : $isExtensible;
19074
19070
 
19075
19071
 
19076
- /***/ }),
19077
-
19078
- /***/ "4ff6":
19079
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
19080
-
19081
- "use strict";
19082
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_0_id_5e7d1922_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5361");
19083
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_0_id_5e7d1922_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_0_id_5e7d1922_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
19084
- /* unused harmony reexport * */
19085
-
19086
-
19087
19072
  /***/ }),
19088
19073
 
19089
19074
  /***/ "5087":
@@ -19844,13 +19829,6 @@ module.exports = {
19844
19829
  };
19845
19830
 
19846
19831
 
19847
- /***/ }),
19848
-
19849
- /***/ "5361":
19850
- /***/ (function(module, exports, __webpack_require__) {
19851
-
19852
- // extracted by mini-css-extract-plugin
19853
-
19854
19832
  /***/ }),
19855
19833
 
19856
19834
  /***/ "5388":
@@ -21749,6 +21727,13 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
21749
21727
  };
21750
21728
 
21751
21729
 
21730
+ /***/ }),
21731
+
21732
+ /***/ "6eb6":
21733
+ /***/ (function(module, exports, __webpack_require__) {
21734
+
21735
+ // extracted by mini-css-extract-plugin
21736
+
21752
21737
  /***/ }),
21753
21738
 
21754
21739
  /***/ "6f19":
@@ -27272,13 +27257,6 @@ module.exports = !fails(function () {
27272
27257
  });
27273
27258
 
27274
27259
 
27275
- /***/ }),
27276
-
27277
- /***/ "bc62":
27278
- /***/ (function(module, exports, __webpack_require__) {
27279
-
27280
- // extracted by mini-css-extract-plugin
27281
-
27282
27260
  /***/ }),
27283
27261
 
27284
27262
  /***/ "bcbf":
@@ -28715,6 +28693,17 @@ module.exports = function (C, x) {
28715
28693
  };
28716
28694
 
28717
28695
 
28696
+ /***/ }),
28697
+
28698
+ /***/ "cf42":
28699
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
28700
+
28701
+ "use strict";
28702
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_0_id_4267f6df_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("289f");
28703
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_0_id_4267f6df_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_0_id_4267f6df_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
28704
+ /* unused harmony reexport * */
28705
+
28706
+
28718
28707
  /***/ }),
28719
28708
 
28720
28709
  /***/ "cf98":
@@ -29354,6 +29343,17 @@ module.exports = !!structuredClone && !fails(function () {
29354
29343
  });
29355
29344
 
29356
29345
 
29346
+ /***/ }),
29347
+
29348
+ /***/ "dc08":
29349
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
29350
+
29351
+ "use strict";
29352
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_1_id_4267f6df_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6eb6");
29353
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_1_id_4267f6df_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MobilePhone_vue_vue_type_style_index_1_id_4267f6df_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
29354
+ /* unused harmony reexport * */
29355
+
29356
+
29357
29357
  /***/ }),
29358
29358
 
29359
29359
  /***/ "dc19":
@@ -37617,7 +37617,7 @@ var VSnackbar = __webpack_require__("ca71");
37617
37617
  }, [this.transition !== false ? this.genTransition() : this.genWrapper()]);
37618
37618
  }
37619
37619
  }));
37620
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"52c8833d-vue-loader-template"}!./node_modules/vuetify-loader/lib/loader.js??ref--4!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MobilePhone.vue?vue&type=template&id=5e7d1922&scoped=true
37620
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"52c8833d-vue-loader-template"}!./node_modules/vuetify-loader/lib/loader.js??ref--4!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MobilePhone.vue?vue&type=template&id=4267f6df&scoped=true
37621
37621
 
37622
37622
 
37623
37623
 
@@ -37626,11 +37626,11 @@ var VSnackbar = __webpack_require__("ca71");
37626
37626
 
37627
37627
 
37628
37628
 
37629
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"phone-nmain d-flex flex-column align-center justify-space-between sip-call-main"},[(_vm.showLocation)?_c('div',{staticClass:"location-wrapper"},[_c('p',[_vm._v("LAT: "+_vm._s(_vm.latitude))]),_c('p',[_vm._v("LNG: "+_vm._s(_vm.longitude))]),_c('p',[_vm._v("ALT: "+_vm._s(_vm.altitude))])]):_vm._e(),(!_vm.miniMode && !_vm.showDialPad)?_c('div',{staticClass:"d-flex flex-column align-center call-btn"},[_c('img',{staticClass:"elevation-4 call-img",attrs:{"alt":"logo","src":_vm.chatURL+'/static/normal-logo.png'}}),_c('p',{staticClass:"mt-6 mb-0 call-label"},[_vm._v(_vm._s(_vm.callPrompt))])]):_vm._e(),(!_vm.miniMode && !_vm.showDialPad)?_c('div',{staticClass:"pr-10 pl-10 "},[_c(VRow,[_c(VCol,{staticClass:"text-center",attrs:{"cols":"12"}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticClass:"call-duration"},[_vm._v(" 视频时长 "+_vm._s(_vm.duration)+" ")])])],1),_c(VRow,{staticClass:"d-flex justify-space-around mb-10"},[_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(!_vm.isCalling && !_vm.needDial),expression:"!isCalling && !needDial"}],staticClass:"cancel-btn",staticStyle:{},on:{"click":_vm.onHangupBtnClick}},[_c('img',{staticClass:"cancel-img",attrs:{"src":_vm.chatURL+'/static/call-down.png',"alt":"hangup"}}),_c('span',{staticClass:"cancel-label"},[_vm._v("取消")])]),_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticClass:"custom-mute-btn btn-box",attrs:{"large":""},on:{"click":function($event){return _vm.onMuteBtnClick('audio')}}},[(!_vm.isAudioMute)?_c('img',{staticClass:"img-open-close",attrs:{"src":_vm.chatURL+'/static/adudio-open.png'}}):_c('img',{staticClass:"img-open-close",attrs:{"src":_vm.chatURL+'/static/adudio-close.png'}})]),_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticClass:"custom-mute-btn",attrs:{"large":""},on:{"click":function($event){return _vm.onMuteBtnClick('video')}}},[(!_vm.isVideoMute)?_c('img',{staticClass:"img-open-close",attrs:{"src":_vm.chatURL+'/static/camera-open.png',"alt":"mic-on"}}):_c('img',{staticClass:"img-open-close",attrs:{"src":_vm.chatURL+'/static/camera-close.png',"alt":"mic-off"}})])],1),_c(VRow,{staticClass:"d-flex justify-center mt-10",staticStyle:{"position":"relative","width":"100%"}},[_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticStyle:{"opacity":"1","background":"transparent","box-shadow":"none","position":"relative","z-index":"9999"},on:{"click":_vm.onHangupBtnClick}},[_c('img',{staticClass:"hangup-img",attrs:{"src":_vm.chatURL+'/static/call-down.png',"alt":"hangup"}}),_c('span',{staticClass:"hangup-label"},[_vm._v("挂断")])]),_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticClass:"transparent-btn",on:{"click":_vm.onSwitchCameraBtnClick}},[_c(components_VIcon_VIcon,{attrs:{"size":"30"}},[_vm._v("mdi-camera-flip")])],1)],1)],1):_vm._e(),_c(VExpandTransition,[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showVideoCt),expression:"showVideoCt"}],staticClass:"sip-call-wrapper",on:{"click":_vm.onSipCallClick}},[_c('vue-draggable-resizable',{directives:[{name:"show",rawName:"v-show",value:(_vm.remoteVideo.show),expression:"remoteVideo.show"}],ref:"remoteVideoWrapper",attrs:{"w":_vm.remoteVideo.w,"h":_vm.remoteVideo.h,"x":_vm.remoteVideo.x,"y":_vm.remoteVideo.y,"z":_vm.remoteVideo.z,"draggable":_vm.remoteVideo.draggable,"handles":[],"parent":true,"active":false,"class-name":"elevation-6 video-panel"},nativeOn:{"mousedown":function($event){return _vm.onLocalVideoDragCallback($event, 'remoteVideo')}}},[(_vm.miniMode)?_c(VBtn_VBtn,{staticClass:"video-normal-mode",attrs:{"dark":"","text":"","x-small":"","width":"24","height":"24","min-width":"24"},on:{"click":_vm.onChangeVideoNormalModeBtnClick}},[_c(components_VIcon_VIcon,[_vm._v("mdi-arrow-bottom-right-bold-box")])],1):_vm._e(),_c('video',{directives:[{name:"show",rawName:"v-show",value:(_vm.remoteVideo.show),expression:"remoteVideo.show"}],ref:"remoteVideo",staticClass:"sip-call-video",staticStyle:{"object-fit":"contain","pointer-events":"none !important"},attrs:{"autoplay":"autoplay","webkit-playsinline":"true","playsinline":"true","x-webkit-airplay":"true","x5-video-player-type":"h5","x5-video-orientation":"h5","controls":"","controlsList":"nodownload nofullscreen noremoteplayback","disablepictureinpicture":""}})],1),_c('vue-draggable-resizable',{directives:[{name:"show",rawName:"v-show",value:(_vm.localVideo.show),expression:"localVideo.show"}],ref:"localVideoWrapper",attrs:{"w":_vm.localVideo.w,"h":_vm.localVideo.h,"x":_vm.localVideo.x,"y":_vm.localVideo.y,"z":_vm.localVideo.z,"draggable":_vm.localVideo.draggable,"handles":[],"parent":true,"active":false,"class-name":"elevation-6 video-panel"},nativeOn:{"mousedown":function($event){return _vm.onLocalVideoDragCallback($event, 'localVideo')}}},[_c('video',{directives:[{name:"show",rawName:"v-show",value:(_vm.localVideo.show),expression:"localVideo.show"}],ref:"localVideo",staticClass:"sip-call-video",staticStyle:{"pointer-events":"none !important"},attrs:{"autoplay":"autoplay","muted":"","webkit-playsinline":"true","playsinline":"true","x-webkit-airplay":"true","x5-video-player-type":"h5","x5-video-orientation":"h5"},domProps:{"muted":true}})])],1)]),_c(VExpandTransition,[_c('dial-panel-mini',{directives:[{name:"show",rawName:"v-show",value:(_vm.showDialPad),expression:"showDialPad"}],ref:"dialPanelMini",attrs:{"isCalling":_vm.isCalling},on:{"makeCall":_vm.onDialPadMakeCallBtnClick,"close":function($event){_vm.showDialPad=false},"dtmf":_vm.onDialPadDtmfBtnClick,"hangup":_vm.onHangupBtnClick}})],1),_c(VBottomSheet_VBottomSheet,{attrs:{"hide-overlay":""},model:{value:(_vm.showAudioPlayer),callback:function ($$v) {_vm.showAudioPlayer=$$v},expression:"showAudioPlayer"}},[_c('audio',{ref:"audioPlayer",attrs:{"src":__webpack_require__("e1e9"),"loop":""}})]),_c(VSnackbar_VSnackbar,{attrs:{"timeout":2000},model:{value:(_vm.showSnackbar),callback:function ($$v) {_vm.showSnackbar=$$v},expression:"showSnackbar"}},[_vm._v(" "+_vm._s(_vm.snackbarText)+" ")])],1)}
37629
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"phone-nmain d-flex flex-column align-center justify-space-between sip-call-main"},[(_vm.showLocation)?_c('div',{staticClass:"location-wrapper"},[_c('p',[_vm._v("LAT: "+_vm._s(_vm.latitude))]),_c('p',[_vm._v("LNG: "+_vm._s(_vm.longitude))]),_c('p',[_vm._v("ALT: "+_vm._s(_vm.altitude))])]):_vm._e(),(!_vm.miniMode && !_vm.showDialPad)?_c('div',{staticClass:"d-flex flex-column align-center call-btn"},[_c('img',{staticClass:"elevation-4 call-img",attrs:{"alt":"logo","src":_vm.chatURL+'/static/normal-logo.png'}}),_c('p',{staticClass:"mt-6 mb-0 call-label"},[_vm._v(_vm._s(_vm.callPrompt))])]):_vm._e(),(!_vm.miniMode && !_vm.showDialPad)?_c('div',{staticClass:"pr-10 pl-10 "},[_c(VRow,[_c(VCol,{staticClass:"text-center",attrs:{"cols":"12"}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticClass:"call-duration"},[_vm._v(" 视频时长 "+_vm._s(_vm.duration)+" ")])])],1),_c(VRow,{staticClass:"d-flex justify-space-around mb-10"},[_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(!_vm.isCalling && !_vm.needDial),expression:"!isCalling && !needDial"}],staticClass:"cancel-btn",staticStyle:{},on:{"click":_vm.onHangupBtnClick}},[_c('img',{staticClass:"cancel-img",attrs:{"src":_vm.chatURL+'/static/call-down.png',"alt":"hangup"}}),_c('span',{staticClass:"cancel-label"},[_vm._v("取消")])]),_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticClass:"custom-mute-btn btn-box",attrs:{"large":""},on:{"click":function($event){return _vm.onMuteBtnClick('audio')}}},[(!_vm.isAudioMute)?_c('img',{staticClass:"img-open-close",attrs:{"src":_vm.chatURL+'/static/adudio-open.png'}}):_c('img',{staticClass:"img-open-close",attrs:{"src":_vm.chatURL+'/static/adudio-close.png'}})]),_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticClass:"custom-mute-btn",attrs:{"large":""},on:{"click":function($event){return _vm.onMuteBtnClick('video')}}},[(!_vm.isVideoMute)?_c('img',{staticClass:"img-open-close",attrs:{"src":_vm.chatURL+'/static/camera-open.png',"alt":"mic-on"}}):_c('img',{staticClass:"img-open-close",attrs:{"src":_vm.chatURL+'/static/camera-close.png',"alt":"mic-off"}})])],1),_c(VRow,{staticClass:"d-flex justify-center mt-10",staticStyle:{"position":"relative","width":"100%"}},[_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticStyle:{"opacity":"1","background":"transparent","box-shadow":"none","position":"relative","z-index":"9999"},on:{"click":_vm.onHangupBtnClick}},[_c('img',{staticClass:"hangup-img",attrs:{"src":_vm.chatURL+'/static/call-down.png',"alt":"hangup"}}),_c('span',{staticClass:"hangup-label"},[_vm._v("挂断")])]),_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticClass:"transparent-btn",on:{"click":_vm.onSwitchCameraBtnClick}},[_c(components_VIcon_VIcon,{attrs:{"size":"30"}},[_vm._v("mdi-camera-flip")])],1)],1)],1):_vm._e(),_c(VExpandTransition,[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showVideoCt),expression:"showVideoCt"}],staticClass:"sip-call-wrapper",on:{"click":_vm.onSipCallClick}},[_c('vue-draggable-resizable',{directives:[{name:"show",rawName:"v-show",value:(_vm.remoteVideo.show),expression:"remoteVideo.show"}],ref:"remoteVideoWrapper",attrs:{"w":_vm.remoteVideo.w,"h":_vm.remoteVideo.h,"x":_vm.remoteVideo.x,"y":_vm.remoteVideo.y,"z":_vm.remoteVideo.z,"draggable":_vm.remoteVideo.draggable,"handles":[],"parent":true,"active":false,"class-name":"elevation-6 video-panel"},nativeOn:{"mousedown":function($event){return _vm.onLocalVideoDragCallback($event, 'remoteVideo')}}},[(_vm.miniMode)?_c(VBtn_VBtn,{staticClass:"video-normal-mode",attrs:{"dark":"","text":"","x-small":"","width":"24","height":"24","min-width":"24"},on:{"click":_vm.onChangeVideoNormalModeBtnClick}},[_c(components_VIcon_VIcon,[_vm._v("mdi-arrow-bottom-right-bold-box")])],1):_vm._e(),_c('video',{directives:[{name:"show",rawName:"v-show",value:(_vm.remoteVideo.show),expression:"remoteVideo.show"}],ref:"remoteVideo",staticClass:"sip-call-video",staticStyle:{"object-fit":"contain","pointer-events":"none !important"},attrs:{"autoplay":"autoplay","webkit-playsinline":"true","playsinline":"true","x-webkit-airplay":"true","x5-video-player-type":"h5","x5-video-orientation":"h5","controls":"","controlsList":"nodownload nofullscreen noremoteplayback","disablepictureinpicture":""}})],1),_c('vue-draggable-resizable',{directives:[{name:"show",rawName:"v-show",value:(_vm.localVideo.show),expression:"localVideo.show"}],ref:"localVideoWrapper",attrs:{"w":33.3,"h":33.3,"x":_vm.localVideo.x,"y":_vm.localVideo.y,"z":_vm.localVideo.z,"draggable":_vm.localVideo.draggable,"handles":[],"parent":true,"active":false,"class-name":"elevation-6 video-panel"},nativeOn:{"mousedown":function($event){return _vm.onLocalVideoDragCallback($event, 'localVideo')}}},[_c('video',{directives:[{name:"show",rawName:"v-show",value:(_vm.localVideo.show),expression:"localVideo.show"}],ref:"localVideo",staticClass:"sip-call-video",staticStyle:{"pointer-events":"none !important"},attrs:{"autoplay":"autoplay","muted":"","webkit-playsinline":"true","playsinline":"true","x-webkit-airplay":"true","x5-video-player-type":"h5","x5-video-orientation":"h5"},domProps:{"muted":true}})])],1)]),_c(VExpandTransition,[_c('dial-panel-mini',{directives:[{name:"show",rawName:"v-show",value:(_vm.showDialPad),expression:"showDialPad"}],ref:"dialPanelMini",attrs:{"isCalling":_vm.isCalling},on:{"makeCall":_vm.onDialPadMakeCallBtnClick,"close":function($event){_vm.showDialPad=false},"dtmf":_vm.onDialPadDtmfBtnClick,"hangup":_vm.onHangupBtnClick}})],1),_c(VBottomSheet_VBottomSheet,{attrs:{"hide-overlay":""},model:{value:(_vm.showAudioPlayer),callback:function ($$v) {_vm.showAudioPlayer=$$v},expression:"showAudioPlayer"}},[_c('audio',{ref:"audioPlayer",attrs:{"src":__webpack_require__("e1e9"),"loop":""}})]),_c(VSnackbar_VSnackbar,{attrs:{"timeout":2000},model:{value:(_vm.showSnackbar),callback:function ($$v) {_vm.showSnackbar=$$v},expression:"showSnackbar"}},[_vm._v(" "+_vm._s(_vm.snackbarText)+" ")])],1)}
37630
37630
  var staticRenderFns = []
37631
37631
 
37632
37632
 
37633
- // CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=template&id=5e7d1922&scoped=true
37633
+ // CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=template&id=4267f6df&scoped=true
37634
37634
 
37635
37635
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js
37636
37636
  function _regeneratorDefine(e, r, n, t) {
@@ -41965,43 +41965,26 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
41965
41965
  });
41966
41966
  this.sipMix.on('localStream', /*#__PURE__*/function () {
41967
41967
  var _ref5 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(stream, info) {
41968
- var screenWidth, screenHeight;
41969
41968
  return _regenerator().w(function (_context4) {
41970
41969
  while (1) switch (_context4.n) {
41971
41970
  case 0:
41972
41971
  console.info('localStream', stream, info);
41973
- console.log('=== localStream event triggered ===');
41974
41972
  _this4.$refs.localVideo.srcObject = stream;
41975
-
41976
- // 2024-04-08 fix: iOS localStream event optimization
41977
- // Problem: iOS devices stuck in localStream phase, Android works fine
41978
- // Solution: Remove delay and handle video stream immediately
41979
- console.log('Setting localVideo size and position...');
41980
-
41981
- // Use window dimensions instead of clientWidth to avoid timing issues
41982
- screenWidth = window.innerWidth || _this4.clientWidth || 375;
41983
- screenHeight = window.innerHeight || _this4.clientHeight || 667;
41984
- _this4.localVideo.w = parseInt(screenWidth / 3); // 1/3 screen width
41985
- _this4.localVideo.h = parseInt(screenHeight / 3); // 1/3 screen height
41986
- _this4.localVideo.x = 0; // Left position
41987
- _this4.localVideo.y = 80; // Top offset (avoid UI overlap)
41988
- _this4.localVideo.z = 1100; // Foreground layer
41989
- _this4.localVideo.draggable = true; // Enable dragging
41990
-
41991
- console.log('Calculated localVideo settings:', {
41992
- w: _this4.localVideo.w,
41993
- h: _this4.localVideo.h,
41994
- x: _this4.localVideo.x,
41995
- y: _this4.localVideo.y,
41996
- z: _this4.localVideo.z,
41997
- draggable: _this4.localVideo.draggable
41998
- });
41973
+ if (!_this4.localVideo.show) {
41974
+ _context4.n = 1;
41975
+ break;
41976
+ }
41977
+ return _context4.a(2);
41978
+ case 1:
41979
+ _this4.localVideo.w = _this4.clientWidth;
41980
+ _this4.localVideo.h = _this4.clientHeight;
41981
+ _this4.localVideo.draggable = false;
41999
41982
  _this4.showVideoCt = true;
42000
41983
  _this4.localVideo.show = true;
42001
41984
 
42002
41985
  // await this.$nextTick()
42003
41986
  // this.$refs.localVideo.srcObject = stream
42004
- case 1:
41987
+ case 2:
42005
41988
  return _context4.a(2);
42006
41989
  }
42007
41990
  }, _callee4);
@@ -42170,9 +42153,8 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42170
42153
  clientWidth = _window$document$body.clientWidth;
42171
42154
  _this5.clientHeight = clientHeight;
42172
42155
  _this5.clientWidth = clientWidth;
42173
- // this.localVideo.w = clientWidth
42174
- // this.localVideo.h = clientHeight
42175
-
42156
+ _this5.localVideo.w = clientWidth;
42157
+ _this5.localVideo.h = clientHeight;
42176
42158
  if (_this5.showLocation) {
42177
42159
  _this5.startLocate();
42178
42160
  }
@@ -42194,11 +42176,11 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42194
42176
  });
42195
42177
  // CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=script&lang=js
42196
42178
  /* harmony default export */ var components_MobilePhonevue_type_script_lang_js = (MobilePhonevue_type_script_lang_js);
42197
- // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=0&id=5e7d1922&prod&lang=scss
42198
- var MobilePhonevue_type_style_index_0_id_5e7d1922_prod_lang_scss = __webpack_require__("4ff6");
42179
+ // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=0&id=4267f6df&prod&lang=scss
42180
+ var MobilePhonevue_type_style_index_0_id_4267f6df_prod_lang_scss = __webpack_require__("cf42");
42199
42181
 
42200
- // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=1&id=5e7d1922&prod&scoped=true&lang=scss
42201
- var MobilePhonevue_type_style_index_1_id_5e7d1922_prod_scoped_true_lang_scss = __webpack_require__("19bc");
42182
+ // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=1&id=4267f6df&prod&scoped=true&lang=scss
42183
+ var MobilePhonevue_type_style_index_1_id_4267f6df_prod_scoped_true_lang_scss = __webpack_require__("dc08");
42202
42184
 
42203
42185
  // CONCATENATED MODULE: ./src/components/MobilePhone.vue
42204
42186
 
@@ -42216,7 +42198,7 @@ var MobilePhone_component = normalizeComponent(
42216
42198
  staticRenderFns,
42217
42199
  false,
42218
42200
  null,
42219
- "5e7d1922",
42201
+ "4267f6df",
42220
42202
  null
42221
42203
 
42222
42204
  )