@sdk185/sip-phone-sdk26 0.2.12 → 0.2.13

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.
@@ -1298,6 +1298,17 @@ module.exports = typeof documentAll == 'undefined' && documentAll !== undefined
1298
1298
  };
1299
1299
 
1300
1300
 
1301
+ /***/ }),
1302
+
1303
+ /***/ "177c":
1304
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1305
+
1306
+ "use strict";
1307
+ /* 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_6219df5e_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("85a0");
1308
+ /* 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_6219df5e_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_6219df5e_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
1309
+ /* unused harmony reexport * */
1310
+
1311
+
1301
1312
  /***/ }),
1302
1313
 
1303
1314
  /***/ "1787":
@@ -1745,6 +1756,13 @@ module.exports = function (it) {
1745
1756
  };
1746
1757
 
1747
1758
 
1759
+ /***/ }),
1760
+
1761
+ /***/ "2042":
1762
+ /***/ (function(module, exports, __webpack_require__) {
1763
+
1764
+ // extracted by mini-css-extract-plugin
1765
+
1748
1766
  /***/ }),
1749
1767
 
1750
1768
  /***/ "20bf":
@@ -3070,6 +3088,17 @@ exportTypedArrayMethod('toSorted', function toSorted(compareFn) {
3070
3088
  });
3071
3089
 
3072
3090
 
3091
+ /***/ }),
3092
+
3093
+ /***/ "2948":
3094
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3095
+
3096
+ "use strict";
3097
+ /* 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_6219df5e_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2042");
3098
+ /* 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_6219df5e_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_6219df5e_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
3099
+ /* unused harmony reexport * */
3100
+
3101
+
3073
3102
  /***/ }),
3074
3103
 
3075
3104
  /***/ "2a07":
@@ -3530,17 +3559,6 @@ module.exports = function (it) {
3530
3559
 
3531
3560
  // extracted by mini-css-extract-plugin
3532
3561
 
3533
- /***/ }),
3534
-
3535
- /***/ "36ba":
3536
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
3537
-
3538
- "use strict";
3539
- /* 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_0ff264ed_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c73f");
3540
- /* 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_0ff264ed_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_0ff264ed_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
3541
- /* unused harmony reexport * */
3542
-
3543
-
3544
3562
  /***/ }),
3545
3563
 
3546
3564
  /***/ "36f2":
@@ -19833,13 +19851,6 @@ module.exports = {
19833
19851
  };
19834
19852
 
19835
19853
 
19836
- /***/ }),
19837
-
19838
- /***/ "5384":
19839
- /***/ (function(module, exports, __webpack_require__) {
19840
-
19841
- // extracted by mini-css-extract-plugin
19842
-
19843
19854
  /***/ }),
19844
19855
 
19845
19856
  /***/ "5388":
@@ -22123,17 +22134,6 @@ exports.f = Object.getOwnPropertySymbols;
22123
22134
 
22124
22135
  // extracted by mini-css-extract-plugin
22125
22136
 
22126
- /***/ }),
22127
-
22128
- /***/ "749b":
22129
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
22130
-
22131
- "use strict";
22132
- /* 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_0ff264ed_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5384");
22133
- /* 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_0ff264ed_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_0ff264ed_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
22134
- /* unused harmony reexport * */
22135
-
22136
-
22137
22137
  /***/ }),
22138
22138
 
22139
22139
  /***/ "74e8":
@@ -23114,6 +23114,13 @@ module.exports = (function () {
23114
23114
  })();
23115
23115
 
23116
23116
 
23117
+ /***/ }),
23118
+
23119
+ /***/ "85a0":
23120
+ /***/ (function(module, exports, __webpack_require__) {
23121
+
23122
+ // extracted by mini-css-extract-plugin
23123
+
23117
23124
  /***/ }),
23118
23125
 
23119
23126
  /***/ "861d":
@@ -28393,13 +28400,6 @@ try {
28393
28400
  } catch (error) { /* empty */ }
28394
28401
 
28395
28402
 
28396
- /***/ }),
28397
-
28398
- /***/ "c73f":
28399
- /***/ (function(module, exports, __webpack_require__) {
28400
-
28401
- // extracted by mini-css-extract-plugin
28402
-
28403
28403
  /***/ }),
28404
28404
 
28405
28405
  /***/ "c8ba":
@@ -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=0ff264ed&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=6219df5e&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:{"object-fit":"cover"},attrs:{"autoplay":"autoplay","muted":"","webkit-playsinline":"true","playsinline":"true","x-webkit-airplay":"true","x5-video-player-type":"h5","x5-video-orientation":"h5","controlslist":"nodownload nofullscreen","preload":"metadata"},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":_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)}
37630
37630
  var staticRenderFns = []
37631
37631
 
37632
37632
 
37633
- // CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=template&id=0ff264ed&scoped=true
37633
+ // CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=template&id=6219df5e&scoped=true
37634
37634
 
37635
37635
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js
37636
37636
  function _regeneratorDefine(e, r, n, t) {
@@ -41276,8 +41276,6 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
41276
41276
  //
41277
41277
  //
41278
41278
  //
41279
- //
41280
- //
41281
41279
 
41282
41280
 
41283
41281
 
@@ -41978,8 +41976,8 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
41978
41976
  }
41979
41977
  return _context4.a(2);
41980
41978
  case 1:
41981
- _this4.localVideo.w = parseInt(_this4.clientWidth / 3);
41982
- _this4.localVideo.h = parseInt(_this4.clientHeight / 3);
41979
+ _this4.localVideo.w = _this4.clientWidth;
41980
+ _this4.localVideo.h = _this4.clientHeight;
41983
41981
  _this4.localVideo.draggable = false;
41984
41982
  _this4.showVideoCt = true;
41985
41983
  _this4.localVideo.show = true;
@@ -41998,42 +41996,68 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
41998
41996
  this.sipMix.on('remoteStream', (stream, info) => {
41999
41997
  console.info('remoteStream', stream, info);
42000
41998
  this._resetCmpWHLRTB();
41999
+
42000
+ // 修复:iOS remoteStream 事件优化
42001
+ // 问题:iOS设备卡在localStream阶段,Android正常工作
42002
+ // 解决方案:移除延迟,立即处理视频流
42003
+
42004
+ // 1. 立即绑定远程视频流(修复iOS卡顿问题)
42005
+ // iOS需要立即绑定流来触发视频显示
42006
+ this.$refs.remoteVideo.srcObject = stream;
42007
+
42008
+ // 2. 调整本地视频到角落窗口(iOS和Android都优化)
42009
+ // 将本地视频从全屏移动到左上角
42001
42010
  Object.assign(this.localVideo, {
42002
42011
  w: parseInt(this.clientWidth / 3),
42012
+ // 1/3 屏幕宽度
42003
42013
  h: parseInt(this.clientHeight / 3),
42014
+ // 1/3 屏幕高度
42004
42015
  x: 0,
42016
+ // 左侧位置
42005
42017
  y: 80,
42018
+ // 顶部偏移(避免UI重叠)
42006
42019
  z: 1100,
42007
- draggable: true
42020
+ // 前景层级
42021
+ draggable: true // 启用拖拽
42008
42022
  });
42023
+
42024
+ // 3. 立即显示远程视频作为主视图(移除500ms延迟)
42025
+ // 原来的setTimeout(500)导致iOS卡在localStream阶段
42026
+ Object.assign(this.remoteVideo, {
42027
+ show: true,
42028
+ // 显示远程视频
42029
+ w: this.clientWidth,
42030
+ // 全屏宽度
42031
+ h: this.clientHeight,
42032
+ // 全屏高度
42033
+ x: 0,
42034
+ // 左侧位置
42035
+ y: 0,
42036
+ // 顶部位置
42037
+ z: 1000,
42038
+ // 背景层级
42039
+ draggable: false // 禁用拖拽(主视图)
42040
+ });
42041
+
42042
+ // 4. 应用布局更改并确保视频播放(iOS兼容性)
42009
42043
  this.$nextTick(() => {
42044
+ // 移动本地视频包装器到正确位置
42010
42045
  this.$refs.localVideoWrapper.moveVertically(80);
42046
+
42047
+ // iOS:强制视频播放(iOS可能阻止自动播放)
42048
+ // Android:play()会成功,无副作用
42049
+ if (this.$refs.remoteVideo && this.$refs.remoteVideo.play) {
42050
+ this.$refs.remoteVideo.play().catch(e => {
42051
+ console.warn('iOS video play failed:', e);
42052
+ // 即使播放失败也继续执行
42053
+ });
42054
+ }
42011
42055
  });
42012
- setTimeout(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5() {
42013
- return _regenerator().w(function (_context5) {
42014
- while (1) switch (_context5.n) {
42015
- case 0:
42016
- Object.assign(_this4.remoteVideo, {
42017
- show: true,
42018
- w: _this4.clientWidth,
42019
- h: _this4.clientHeight,
42020
- x: 0,
42021
- y: 0,
42022
- z: 1000,
42023
- draggable: false
42024
- });
42025
- _context5.n = 1;
42026
- return _this4.$nextTick();
42027
- case 1:
42028
- if (_this4.autoHideLocalVideo) {
42029
- _this4.localVideo.show = false;
42030
- }
42031
- _this4.$refs.remoteVideo.srcObject = stream;
42032
- case 2:
42033
- return _context5.a(2);
42034
- }
42035
- }, _callee5);
42036
- })), 500);
42056
+
42057
+ // 5. 处理自动隐藏本地视频设置(逻辑不变)
42058
+ if (this.autoHideLocalVideo) {
42059
+ this.localVideo.show = false;
42060
+ }
42037
42061
  });
42038
42062
  this.sipMix.on('remoteRing', () => {
42039
42063
  this.callPrompt = this.$t('remoteRinging');
@@ -42059,9 +42083,9 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42059
42083
  this.startDurationCount(); // 通话完全建立后开始计时 0105
42060
42084
  this.startSendPosition();
42061
42085
  });
42062
- this.sipMix.on('newInfo', _ref7 => {
42063
- var content = _ref7.content,
42064
- contentType = _ref7.contentType;
42086
+ this.sipMix.on('newInfo', _ref6 => {
42087
+ var content = _ref6.content,
42088
+ contentType = _ref6.contentType;
42065
42089
  console.info('New Info', contentType, content);
42066
42090
  });
42067
42091
  this.sipMix.start({
@@ -42075,10 +42099,10 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42075
42099
  if (navigator.geolocation) {
42076
42100
  navigator.geolocation.getCurrentPosition(position => {
42077
42101
  console.info('Position', position);
42078
- var _ref8 = (position === null || position === void 0 ? void 0 : position.coords) || {},
42079
- latitude = _ref8.latitude,
42080
- longitude = _ref8.longitude,
42081
- altitude = _ref8.altitude;
42102
+ var _ref7 = (position === null || position === void 0 ? void 0 : position.coords) || {},
42103
+ latitude = _ref7.latitude,
42104
+ longitude = _ref7.longitude,
42105
+ altitude = _ref7.altitude;
42082
42106
  console.info(`获取地里位置信息: ${latitude}, ${longitude}, ${altitude}`);
42083
42107
  /*this.sendCustomEvent({
42084
42108
  act: 'position',
@@ -42133,12 +42157,12 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42133
42157
  },
42134
42158
  mounted() {
42135
42159
  var _this5 = this;
42136
- return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee6() {
42137
- return _regenerator().w(function (_context6) {
42138
- while (1) switch (_context6.n) {
42160
+ return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5() {
42161
+ return _regenerator().w(function (_context5) {
42162
+ while (1) switch (_context5.n) {
42139
42163
  case 0:
42140
42164
  console.info('MobilePhone mounted');
42141
- _context6.n = 1;
42165
+ _context5.n = 1;
42142
42166
  return _this5.checkBrowser().catch(e => {
42143
42167
  _this5.showSnackbar = true;
42144
42168
  _this5.snackbarText = e;
@@ -42165,9 +42189,9 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42165
42189
  _this5.showAudioPlayer = false;
42166
42190
  });
42167
42191
  case 2:
42168
- return _context6.a(2);
42192
+ return _context5.a(2);
42169
42193
  }
42170
- }, _callee6);
42194
+ }, _callee5);
42171
42195
  }))();
42172
42196
  },
42173
42197
  beforeDestroy() {
@@ -42178,11 +42202,11 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42178
42202
  });
42179
42203
  // CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=script&lang=js
42180
42204
  /* harmony default export */ var components_MobilePhonevue_type_script_lang_js = (MobilePhonevue_type_script_lang_js);
42181
- // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=0&id=0ff264ed&prod&lang=scss
42182
- var MobilePhonevue_type_style_index_0_id_0ff264ed_prod_lang_scss = __webpack_require__("749b");
42205
+ // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=0&id=6219df5e&prod&lang=scss
42206
+ var MobilePhonevue_type_style_index_0_id_6219df5e_prod_lang_scss = __webpack_require__("2948");
42183
42207
 
42184
- // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=1&id=0ff264ed&prod&scoped=true&lang=scss
42185
- var MobilePhonevue_type_style_index_1_id_0ff264ed_prod_scoped_true_lang_scss = __webpack_require__("36ba");
42208
+ // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=1&id=6219df5e&prod&scoped=true&lang=scss
42209
+ var MobilePhonevue_type_style_index_1_id_6219df5e_prod_scoped_true_lang_scss = __webpack_require__("177c");
42186
42210
 
42187
42211
  // CONCATENATED MODULE: ./src/components/MobilePhone.vue
42188
42212
 
@@ -42200,7 +42224,7 @@ var MobilePhone_component = normalizeComponent(
42200
42224
  staticRenderFns,
42201
42225
  false,
42202
42226
  null,
42203
- "0ff264ed",
42227
+ "6219df5e",
42204
42228
  null
42205
42229
 
42206
42230
  )