@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.
@@ -1307,6 +1307,17 @@ module.exports = typeof documentAll == 'undefined' && documentAll !== undefined
1307
1307
  };
1308
1308
 
1309
1309
 
1310
+ /***/ }),
1311
+
1312
+ /***/ "177c":
1313
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1314
+
1315
+ "use strict";
1316
+ /* 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");
1317
+ /* 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__);
1318
+ /* unused harmony reexport * */
1319
+
1320
+
1310
1321
  /***/ }),
1311
1322
 
1312
1323
  /***/ "1787":
@@ -1754,6 +1765,13 @@ module.exports = function (it) {
1754
1765
  };
1755
1766
 
1756
1767
 
1768
+ /***/ }),
1769
+
1770
+ /***/ "2042":
1771
+ /***/ (function(module, exports, __webpack_require__) {
1772
+
1773
+ // extracted by mini-css-extract-plugin
1774
+
1757
1775
  /***/ }),
1758
1776
 
1759
1777
  /***/ "20bf":
@@ -3079,6 +3097,17 @@ exportTypedArrayMethod('toSorted', function toSorted(compareFn) {
3079
3097
  });
3080
3098
 
3081
3099
 
3100
+ /***/ }),
3101
+
3102
+ /***/ "2948":
3103
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3104
+
3105
+ "use strict";
3106
+ /* 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");
3107
+ /* 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__);
3108
+ /* unused harmony reexport * */
3109
+
3110
+
3082
3111
  /***/ }),
3083
3112
 
3084
3113
  /***/ "2a07":
@@ -3539,17 +3568,6 @@ module.exports = function (it) {
3539
3568
 
3540
3569
  // extracted by mini-css-extract-plugin
3541
3570
 
3542
- /***/ }),
3543
-
3544
- /***/ "36ba":
3545
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
3546
-
3547
- "use strict";
3548
- /* 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");
3549
- /* 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__);
3550
- /* unused harmony reexport * */
3551
-
3552
-
3553
3571
  /***/ }),
3554
3572
 
3555
3573
  /***/ "36f2":
@@ -19842,13 +19860,6 @@ module.exports = {
19842
19860
  };
19843
19861
 
19844
19862
 
19845
- /***/ }),
19846
-
19847
- /***/ "5384":
19848
- /***/ (function(module, exports, __webpack_require__) {
19849
-
19850
- // extracted by mini-css-extract-plugin
19851
-
19852
19863
  /***/ }),
19853
19864
 
19854
19865
  /***/ "5388":
@@ -22132,17 +22143,6 @@ exports.f = Object.getOwnPropertySymbols;
22132
22143
 
22133
22144
  // extracted by mini-css-extract-plugin
22134
22145
 
22135
- /***/ }),
22136
-
22137
- /***/ "749b":
22138
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
22139
-
22140
- "use strict";
22141
- /* 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");
22142
- /* 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__);
22143
- /* unused harmony reexport * */
22144
-
22145
-
22146
22146
  /***/ }),
22147
22147
 
22148
22148
  /***/ "74e8":
@@ -23123,6 +23123,13 @@ module.exports = (function () {
23123
23123
  })();
23124
23124
 
23125
23125
 
23126
+ /***/ }),
23127
+
23128
+ /***/ "85a0":
23129
+ /***/ (function(module, exports, __webpack_require__) {
23130
+
23131
+ // extracted by mini-css-extract-plugin
23132
+
23126
23133
  /***/ }),
23127
23134
 
23128
23135
  /***/ "861d":
@@ -28402,13 +28409,6 @@ try {
28402
28409
  } catch (error) { /* empty */ }
28403
28410
 
28404
28411
 
28405
- /***/ }),
28406
-
28407
- /***/ "c73f":
28408
- /***/ (function(module, exports, __webpack_require__) {
28409
-
28410
- // extracted by mini-css-extract-plugin
28411
-
28412
28412
  /***/ }),
28413
28413
 
28414
28414
  /***/ "c8ba":
@@ -37626,7 +37626,7 @@ var VSnackbar = __webpack_require__("ca71");
37626
37626
  }, [this.transition !== false ? this.genTransition() : this.genWrapper()]);
37627
37627
  }
37628
37628
  }));
37629
- // 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
37629
+ // 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
37630
37630
 
37631
37631
 
37632
37632
 
@@ -37635,11 +37635,11 @@ var VSnackbar = __webpack_require__("ca71");
37635
37635
 
37636
37636
 
37637
37637
 
37638
- 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)}
37638
+ 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)}
37639
37639
  var staticRenderFns = []
37640
37640
 
37641
37641
 
37642
- // CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=template&id=0ff264ed&scoped=true
37642
+ // CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=template&id=6219df5e&scoped=true
37643
37643
 
37644
37644
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js
37645
37645
  function _regeneratorDefine(e, r, n, t) {
@@ -41285,8 +41285,6 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
41285
41285
  //
41286
41286
  //
41287
41287
  //
41288
- //
41289
- //
41290
41288
 
41291
41289
 
41292
41290
 
@@ -41987,8 +41985,8 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
41987
41985
  }
41988
41986
  return _context4.a(2);
41989
41987
  case 1:
41990
- _this4.localVideo.w = parseInt(_this4.clientWidth / 3);
41991
- _this4.localVideo.h = parseInt(_this4.clientHeight / 3);
41988
+ _this4.localVideo.w = _this4.clientWidth;
41989
+ _this4.localVideo.h = _this4.clientHeight;
41992
41990
  _this4.localVideo.draggable = false;
41993
41991
  _this4.showVideoCt = true;
41994
41992
  _this4.localVideo.show = true;
@@ -42007,42 +42005,68 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42007
42005
  this.sipMix.on('remoteStream', (stream, info) => {
42008
42006
  console.info('remoteStream', stream, info);
42009
42007
  this._resetCmpWHLRTB();
42008
+
42009
+ // 修复:iOS remoteStream 事件优化
42010
+ // 问题:iOS设备卡在localStream阶段,Android正常工作
42011
+ // 解决方案:移除延迟,立即处理视频流
42012
+
42013
+ // 1. 立即绑定远程视频流(修复iOS卡顿问题)
42014
+ // iOS需要立即绑定流来触发视频显示
42015
+ this.$refs.remoteVideo.srcObject = stream;
42016
+
42017
+ // 2. 调整本地视频到角落窗口(iOS和Android都优化)
42018
+ // 将本地视频从全屏移动到左上角
42010
42019
  Object.assign(this.localVideo, {
42011
42020
  w: parseInt(this.clientWidth / 3),
42021
+ // 1/3 屏幕宽度
42012
42022
  h: parseInt(this.clientHeight / 3),
42023
+ // 1/3 屏幕高度
42013
42024
  x: 0,
42025
+ // 左侧位置
42014
42026
  y: 80,
42027
+ // 顶部偏移(避免UI重叠)
42015
42028
  z: 1100,
42016
- draggable: true
42029
+ // 前景层级
42030
+ draggable: true // 启用拖拽
42017
42031
  });
42032
+
42033
+ // 3. 立即显示远程视频作为主视图(移除500ms延迟)
42034
+ // 原来的setTimeout(500)导致iOS卡在localStream阶段
42035
+ Object.assign(this.remoteVideo, {
42036
+ show: true,
42037
+ // 显示远程视频
42038
+ w: this.clientWidth,
42039
+ // 全屏宽度
42040
+ h: this.clientHeight,
42041
+ // 全屏高度
42042
+ x: 0,
42043
+ // 左侧位置
42044
+ y: 0,
42045
+ // 顶部位置
42046
+ z: 1000,
42047
+ // 背景层级
42048
+ draggable: false // 禁用拖拽(主视图)
42049
+ });
42050
+
42051
+ // 4. 应用布局更改并确保视频播放(iOS兼容性)
42018
42052
  this.$nextTick(() => {
42053
+ // 移动本地视频包装器到正确位置
42019
42054
  this.$refs.localVideoWrapper.moveVertically(80);
42055
+
42056
+ // iOS:强制视频播放(iOS可能阻止自动播放)
42057
+ // Android:play()会成功,无副作用
42058
+ if (this.$refs.remoteVideo && this.$refs.remoteVideo.play) {
42059
+ this.$refs.remoteVideo.play().catch(e => {
42060
+ console.warn('iOS video play failed:', e);
42061
+ // 即使播放失败也继续执行
42062
+ });
42063
+ }
42020
42064
  });
42021
- setTimeout(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5() {
42022
- return _regenerator().w(function (_context5) {
42023
- while (1) switch (_context5.n) {
42024
- case 0:
42025
- Object.assign(_this4.remoteVideo, {
42026
- show: true,
42027
- w: _this4.clientWidth,
42028
- h: _this4.clientHeight,
42029
- x: 0,
42030
- y: 0,
42031
- z: 1000,
42032
- draggable: false
42033
- });
42034
- _context5.n = 1;
42035
- return _this4.$nextTick();
42036
- case 1:
42037
- if (_this4.autoHideLocalVideo) {
42038
- _this4.localVideo.show = false;
42039
- }
42040
- _this4.$refs.remoteVideo.srcObject = stream;
42041
- case 2:
42042
- return _context5.a(2);
42043
- }
42044
- }, _callee5);
42045
- })), 500);
42065
+
42066
+ // 5. 处理自动隐藏本地视频设置(逻辑不变)
42067
+ if (this.autoHideLocalVideo) {
42068
+ this.localVideo.show = false;
42069
+ }
42046
42070
  });
42047
42071
  this.sipMix.on('remoteRing', () => {
42048
42072
  this.callPrompt = this.$t('remoteRinging');
@@ -42068,9 +42092,9 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42068
42092
  this.startDurationCount(); // 通话完全建立后开始计时 0105
42069
42093
  this.startSendPosition();
42070
42094
  });
42071
- this.sipMix.on('newInfo', _ref7 => {
42072
- var content = _ref7.content,
42073
- contentType = _ref7.contentType;
42095
+ this.sipMix.on('newInfo', _ref6 => {
42096
+ var content = _ref6.content,
42097
+ contentType = _ref6.contentType;
42074
42098
  console.info('New Info', contentType, content);
42075
42099
  });
42076
42100
  this.sipMix.start({
@@ -42084,10 +42108,10 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42084
42108
  if (navigator.geolocation) {
42085
42109
  navigator.geolocation.getCurrentPosition(position => {
42086
42110
  console.info('Position', position);
42087
- var _ref8 = (position === null || position === void 0 ? void 0 : position.coords) || {},
42088
- latitude = _ref8.latitude,
42089
- longitude = _ref8.longitude,
42090
- altitude = _ref8.altitude;
42111
+ var _ref7 = (position === null || position === void 0 ? void 0 : position.coords) || {},
42112
+ latitude = _ref7.latitude,
42113
+ longitude = _ref7.longitude,
42114
+ altitude = _ref7.altitude;
42091
42115
  console.info(`获取地里位置信息: ${latitude}, ${longitude}, ${altitude}`);
42092
42116
  /*this.sendCustomEvent({
42093
42117
  act: 'position',
@@ -42142,12 +42166,12 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42142
42166
  },
42143
42167
  mounted() {
42144
42168
  var _this5 = this;
42145
- return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee6() {
42146
- return _regenerator().w(function (_context6) {
42147
- while (1) switch (_context6.n) {
42169
+ return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5() {
42170
+ return _regenerator().w(function (_context5) {
42171
+ while (1) switch (_context5.n) {
42148
42172
  case 0:
42149
42173
  console.info('MobilePhone mounted');
42150
- _context6.n = 1;
42174
+ _context5.n = 1;
42151
42175
  return _this5.checkBrowser().catch(e => {
42152
42176
  _this5.showSnackbar = true;
42153
42177
  _this5.snackbarText = e;
@@ -42174,9 +42198,9 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42174
42198
  _this5.showAudioPlayer = false;
42175
42199
  });
42176
42200
  case 2:
42177
- return _context6.a(2);
42201
+ return _context5.a(2);
42178
42202
  }
42179
- }, _callee6);
42203
+ }, _callee5);
42180
42204
  }))();
42181
42205
  },
42182
42206
  beforeDestroy() {
@@ -42187,11 +42211,11 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42187
42211
  });
42188
42212
  // CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=script&lang=js
42189
42213
  /* harmony default export */ var components_MobilePhonevue_type_script_lang_js = (MobilePhonevue_type_script_lang_js);
42190
- // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=0&id=0ff264ed&prod&lang=scss
42191
- var MobilePhonevue_type_style_index_0_id_0ff264ed_prod_lang_scss = __webpack_require__("749b");
42214
+ // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=0&id=6219df5e&prod&lang=scss
42215
+ var MobilePhonevue_type_style_index_0_id_6219df5e_prod_lang_scss = __webpack_require__("2948");
42192
42216
 
42193
- // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=1&id=0ff264ed&prod&scoped=true&lang=scss
42194
- var MobilePhonevue_type_style_index_1_id_0ff264ed_prod_scoped_true_lang_scss = __webpack_require__("36ba");
42217
+ // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=1&id=6219df5e&prod&scoped=true&lang=scss
42218
+ var MobilePhonevue_type_style_index_1_id_6219df5e_prod_scoped_true_lang_scss = __webpack_require__("177c");
42195
42219
 
42196
42220
  // CONCATENATED MODULE: ./src/components/MobilePhone.vue
42197
42221
 
@@ -42209,7 +42233,7 @@ var MobilePhone_component = normalizeComponent(
42209
42233
  staticRenderFns,
42210
42234
  false,
42211
42235
  null,
42212
- "0ff264ed",
42236
+ "6219df5e",
42213
42237
  null
42214
42238
 
42215
42239
  )