@sdk185/sip-phone-sdk26 0.2.11 → 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":
@@ -3374,17 +3403,6 @@ module.exports = {
3374
3403
  };
3375
3404
 
3376
3405
 
3377
- /***/ }),
3378
-
3379
- /***/ "2ece":
3380
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
3381
-
3382
- "use strict";
3383
- /* 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_2e362bc0_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("93e9");
3384
- /* 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_2e362bc0_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_2e362bc0_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
3385
- /* unused harmony reexport * */
3386
-
3387
-
3388
3406
  /***/ }),
3389
3407
 
3390
3408
  /***/ "313d":
@@ -20098,17 +20116,6 @@ createTypedArrayConstructor('Uint8', function (init) {
20098
20116
  });
20099
20117
 
20100
20118
 
20101
- /***/ }),
20102
-
20103
- /***/ "5e53":
20104
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
20105
-
20106
- "use strict";
20107
- /* 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_2e362bc0_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6908");
20108
- /* 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_2e362bc0_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_2e362bc0_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
20109
- /* unused harmony reexport * */
20110
-
20111
-
20112
20119
  /***/ }),
20113
20120
 
20114
20121
  /***/ "5e77":
@@ -21475,13 +21482,6 @@ module.exports = !construct || fails(function () {
21475
21482
  }) ? isConstructorLegacy : isConstructorModern;
21476
21483
 
21477
21484
 
21478
- /***/ }),
21479
-
21480
- /***/ "6908":
21481
- /***/ (function(module, exports, __webpack_require__) {
21482
-
21483
- // extracted by mini-css-extract-plugin
21484
-
21485
21485
  /***/ }),
21486
21486
 
21487
21487
  /***/ "6964":
@@ -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":
@@ -23757,13 +23764,6 @@ if (PATCH) {
23757
23764
  module.exports = patchedExec;
23758
23765
 
23759
23766
 
23760
- /***/ }),
23761
-
23762
- /***/ "93e9":
23763
- /***/ (function(module, exports, __webpack_require__) {
23764
-
23765
- // extracted by mini-css-extract-plugin
23766
-
23767
23767
  /***/ }),
23768
23768
 
23769
23769
  /***/ "9485":
@@ -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=2e362bc0&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":"https://kefu-gm-jc-dat.boc-samsunglife.cn/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":"https://kefu-gm-jc-dat.boc-samsunglife.cn/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":"https://kefu-gm-jc-dat.boc-samsunglife.cn/static/adudio-open.png"}}):_c('img',{staticClass:"img-open-close",attrs:{"src":"https://kefu-gm-jc-dat.boc-samsunglife.cn/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":"https://kefu-gm-jc-dat.boc-samsunglife.cn/static/camera-open.png","alt":"mic-on"}}):_c('img',{staticClass:"img-open-close",attrs:{"src":"https://kefu-gm-jc-dat.boc-samsunglife.cn/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":"https://kefu-gm-jc-dat.boc-samsunglife.cn/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)}
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=2e362bc0&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) {
@@ -41345,6 +41345,8 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
41345
41345
  return {
41346
41346
  prompt: `${this.$t('serverConnecting')}...`,
41347
41347
  callPrompt: this.$t('pleaseBePatient'),
41348
+ chatURL: "https://kefu-gm-jc-dat.boc-samsunglife.cn",
41349
+ // 环境切换
41348
41350
  isCalling: false,
41349
41351
  showHangup: false,
41350
41352
  showAudioPlayer: true,
@@ -41983,8 +41985,8 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
41983
41985
  }
41984
41986
  return _context4.a(2);
41985
41987
  case 1:
41986
- _this4.localVideo.w = parseInt(_this4.clientWidth / 3);
41987
- _this4.localVideo.h = parseInt(_this4.clientHeight / 3);
41988
+ _this4.localVideo.w = _this4.clientWidth;
41989
+ _this4.localVideo.h = _this4.clientHeight;
41988
41990
  _this4.localVideo.draggable = false;
41989
41991
  _this4.showVideoCt = true;
41990
41992
  _this4.localVideo.show = true;
@@ -42003,42 +42005,68 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42003
42005
  this.sipMix.on('remoteStream', (stream, info) => {
42004
42006
  console.info('remoteStream', stream, info);
42005
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
+ // 将本地视频从全屏移动到左上角
42006
42019
  Object.assign(this.localVideo, {
42007
42020
  w: parseInt(this.clientWidth / 3),
42021
+ // 1/3 屏幕宽度
42008
42022
  h: parseInt(this.clientHeight / 3),
42023
+ // 1/3 屏幕高度
42009
42024
  x: 0,
42025
+ // 左侧位置
42010
42026
  y: 80,
42027
+ // 顶部偏移(避免UI重叠)
42011
42028
  z: 1100,
42012
- draggable: true
42029
+ // 前景层级
42030
+ draggable: true // 启用拖拽
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 // 禁用拖拽(主视图)
42013
42049
  });
42050
+
42051
+ // 4. 应用布局更改并确保视频播放(iOS兼容性)
42014
42052
  this.$nextTick(() => {
42053
+ // 移动本地视频包装器到正确位置
42015
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
+ }
42016
42064
  });
42017
- setTimeout(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5() {
42018
- return _regenerator().w(function (_context5) {
42019
- while (1) switch (_context5.n) {
42020
- case 0:
42021
- Object.assign(_this4.remoteVideo, {
42022
- show: true,
42023
- w: _this4.clientWidth,
42024
- h: _this4.clientHeight,
42025
- x: 0,
42026
- y: 0,
42027
- z: 1000,
42028
- draggable: false
42029
- });
42030
- _context5.n = 1;
42031
- return _this4.$nextTick();
42032
- case 1:
42033
- if (_this4.autoHideLocalVideo) {
42034
- _this4.localVideo.show = false;
42035
- }
42036
- _this4.$refs.remoteVideo.srcObject = stream;
42037
- case 2:
42038
- return _context5.a(2);
42039
- }
42040
- }, _callee5);
42041
- })), 500);
42065
+
42066
+ // 5. 处理自动隐藏本地视频设置(逻辑不变)
42067
+ if (this.autoHideLocalVideo) {
42068
+ this.localVideo.show = false;
42069
+ }
42042
42070
  });
42043
42071
  this.sipMix.on('remoteRing', () => {
42044
42072
  this.callPrompt = this.$t('remoteRinging');
@@ -42064,9 +42092,9 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42064
42092
  this.startDurationCount(); // 通话完全建立后开始计时 0105
42065
42093
  this.startSendPosition();
42066
42094
  });
42067
- this.sipMix.on('newInfo', _ref7 => {
42068
- var content = _ref7.content,
42069
- contentType = _ref7.contentType;
42095
+ this.sipMix.on('newInfo', _ref6 => {
42096
+ var content = _ref6.content,
42097
+ contentType = _ref6.contentType;
42070
42098
  console.info('New Info', contentType, content);
42071
42099
  });
42072
42100
  this.sipMix.start({
@@ -42080,10 +42108,10 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42080
42108
  if (navigator.geolocation) {
42081
42109
  navigator.geolocation.getCurrentPosition(position => {
42082
42110
  console.info('Position', position);
42083
- var _ref8 = (position === null || position === void 0 ? void 0 : position.coords) || {},
42084
- latitude = _ref8.latitude,
42085
- longitude = _ref8.longitude,
42086
- 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;
42087
42115
  console.info(`获取地里位置信息: ${latitude}, ${longitude}, ${altitude}`);
42088
42116
  /*this.sendCustomEvent({
42089
42117
  act: 'position',
@@ -42138,12 +42166,12 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42138
42166
  },
42139
42167
  mounted() {
42140
42168
  var _this5 = this;
42141
- return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee6() {
42142
- return _regenerator().w(function (_context6) {
42143
- 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) {
42144
42172
  case 0:
42145
42173
  console.info('MobilePhone mounted');
42146
- _context6.n = 1;
42174
+ _context5.n = 1;
42147
42175
  return _this5.checkBrowser().catch(e => {
42148
42176
  _this5.showSnackbar = true;
42149
42177
  _this5.snackbarText = e;
@@ -42170,9 +42198,9 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42170
42198
  _this5.showAudioPlayer = false;
42171
42199
  });
42172
42200
  case 2:
42173
- return _context6.a(2);
42201
+ return _context5.a(2);
42174
42202
  }
42175
- }, _callee6);
42203
+ }, _callee5);
42176
42204
  }))();
42177
42205
  },
42178
42206
  beforeDestroy() {
@@ -42183,11 +42211,11 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42183
42211
  });
42184
42212
  // CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=script&lang=js
42185
42213
  /* harmony default export */ var components_MobilePhonevue_type_script_lang_js = (MobilePhonevue_type_script_lang_js);
42186
- // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=0&id=2e362bc0&prod&lang=scss
42187
- var MobilePhonevue_type_style_index_0_id_2e362bc0_prod_lang_scss = __webpack_require__("5e53");
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");
42188
42216
 
42189
- // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=1&id=2e362bc0&prod&scoped=true&lang=scss
42190
- var MobilePhonevue_type_style_index_1_id_2e362bc0_prod_scoped_true_lang_scss = __webpack_require__("2ece");
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");
42191
42219
 
42192
42220
  // CONCATENATED MODULE: ./src/components/MobilePhone.vue
42193
42221
 
@@ -42205,7 +42233,7 @@ var MobilePhone_component = normalizeComponent(
42205
42233
  staticRenderFns,
42206
42234
  false,
42207
42235
  null,
42208
- "2e362bc0",
42236
+ "6219df5e",
42209
42237
  null
42210
42238
 
42211
42239
  )