@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.
@@ -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":
@@ -3365,17 +3394,6 @@ module.exports = {
3365
3394
  };
3366
3395
 
3367
3396
 
3368
- /***/ }),
3369
-
3370
- /***/ "2ece":
3371
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
3372
-
3373
- "use strict";
3374
- /* 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");
3375
- /* 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__);
3376
- /* unused harmony reexport * */
3377
-
3378
-
3379
3397
  /***/ }),
3380
3398
 
3381
3399
  /***/ "313d":
@@ -20089,17 +20107,6 @@ createTypedArrayConstructor('Uint8', function (init) {
20089
20107
  });
20090
20108
 
20091
20109
 
20092
- /***/ }),
20093
-
20094
- /***/ "5e53":
20095
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
20096
-
20097
- "use strict";
20098
- /* 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");
20099
- /* 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__);
20100
- /* unused harmony reexport * */
20101
-
20102
-
20103
20110
  /***/ }),
20104
20111
 
20105
20112
  /***/ "5e77":
@@ -21466,13 +21473,6 @@ module.exports = !construct || fails(function () {
21466
21473
  }) ? isConstructorLegacy : isConstructorModern;
21467
21474
 
21468
21475
 
21469
- /***/ }),
21470
-
21471
- /***/ "6908":
21472
- /***/ (function(module, exports, __webpack_require__) {
21473
-
21474
- // extracted by mini-css-extract-plugin
21475
-
21476
21476
  /***/ }),
21477
21477
 
21478
21478
  /***/ "6964":
@@ -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":
@@ -23748,13 +23755,6 @@ if (PATCH) {
23748
23755
  module.exports = patchedExec;
23749
23756
 
23750
23757
 
23751
- /***/ }),
23752
-
23753
- /***/ "93e9":
23754
- /***/ (function(module, exports, __webpack_require__) {
23755
-
23756
- // extracted by mini-css-extract-plugin
23757
-
23758
23758
  /***/ }),
23759
23759
 
23760
23760
  /***/ "9485":
@@ -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=2e362bc0&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":"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)}
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=2e362bc0&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) {
@@ -41336,6 +41336,8 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
41336
41336
  return {
41337
41337
  prompt: `${this.$t('serverConnecting')}...`,
41338
41338
  callPrompt: this.$t('pleaseBePatient'),
41339
+ chatURL: "https://kefu-gm-jc-dat.boc-samsunglife.cn",
41340
+ // 环境切换
41339
41341
  isCalling: false,
41340
41342
  showHangup: false,
41341
41343
  showAudioPlayer: true,
@@ -41974,8 +41976,8 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
41974
41976
  }
41975
41977
  return _context4.a(2);
41976
41978
  case 1:
41977
- _this4.localVideo.w = parseInt(_this4.clientWidth / 3);
41978
- _this4.localVideo.h = parseInt(_this4.clientHeight / 3);
41979
+ _this4.localVideo.w = _this4.clientWidth;
41980
+ _this4.localVideo.h = _this4.clientHeight;
41979
41981
  _this4.localVideo.draggable = false;
41980
41982
  _this4.showVideoCt = true;
41981
41983
  _this4.localVideo.show = true;
@@ -41994,42 +41996,68 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
41994
41996
  this.sipMix.on('remoteStream', (stream, info) => {
41995
41997
  console.info('remoteStream', stream, info);
41996
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
+ // 将本地视频从全屏移动到左上角
41997
42010
  Object.assign(this.localVideo, {
41998
42011
  w: parseInt(this.clientWidth / 3),
42012
+ // 1/3 屏幕宽度
41999
42013
  h: parseInt(this.clientHeight / 3),
42014
+ // 1/3 屏幕高度
42000
42015
  x: 0,
42016
+ // 左侧位置
42001
42017
  y: 80,
42018
+ // 顶部偏移(避免UI重叠)
42002
42019
  z: 1100,
42003
- draggable: true
42020
+ // 前景层级
42021
+ draggable: true // 启用拖拽
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 // 禁用拖拽(主视图)
42004
42040
  });
42041
+
42042
+ // 4. 应用布局更改并确保视频播放(iOS兼容性)
42005
42043
  this.$nextTick(() => {
42044
+ // 移动本地视频包装器到正确位置
42006
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
+ }
42007
42055
  });
42008
- setTimeout(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5() {
42009
- return _regenerator().w(function (_context5) {
42010
- while (1) switch (_context5.n) {
42011
- case 0:
42012
- Object.assign(_this4.remoteVideo, {
42013
- show: true,
42014
- w: _this4.clientWidth,
42015
- h: _this4.clientHeight,
42016
- x: 0,
42017
- y: 0,
42018
- z: 1000,
42019
- draggable: false
42020
- });
42021
- _context5.n = 1;
42022
- return _this4.$nextTick();
42023
- case 1:
42024
- if (_this4.autoHideLocalVideo) {
42025
- _this4.localVideo.show = false;
42026
- }
42027
- _this4.$refs.remoteVideo.srcObject = stream;
42028
- case 2:
42029
- return _context5.a(2);
42030
- }
42031
- }, _callee5);
42032
- })), 500);
42056
+
42057
+ // 5. 处理自动隐藏本地视频设置(逻辑不变)
42058
+ if (this.autoHideLocalVideo) {
42059
+ this.localVideo.show = false;
42060
+ }
42033
42061
  });
42034
42062
  this.sipMix.on('remoteRing', () => {
42035
42063
  this.callPrompt = this.$t('remoteRinging');
@@ -42055,9 +42083,9 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42055
42083
  this.startDurationCount(); // 通话完全建立后开始计时 0105
42056
42084
  this.startSendPosition();
42057
42085
  });
42058
- this.sipMix.on('newInfo', _ref7 => {
42059
- var content = _ref7.content,
42060
- contentType = _ref7.contentType;
42086
+ this.sipMix.on('newInfo', _ref6 => {
42087
+ var content = _ref6.content,
42088
+ contentType = _ref6.contentType;
42061
42089
  console.info('New Info', contentType, content);
42062
42090
  });
42063
42091
  this.sipMix.start({
@@ -42071,10 +42099,10 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42071
42099
  if (navigator.geolocation) {
42072
42100
  navigator.geolocation.getCurrentPosition(position => {
42073
42101
  console.info('Position', position);
42074
- var _ref8 = (position === null || position === void 0 ? void 0 : position.coords) || {},
42075
- latitude = _ref8.latitude,
42076
- longitude = _ref8.longitude,
42077
- 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;
42078
42106
  console.info(`获取地里位置信息: ${latitude}, ${longitude}, ${altitude}`);
42079
42107
  /*this.sendCustomEvent({
42080
42108
  act: 'position',
@@ -42129,12 +42157,12 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42129
42157
  },
42130
42158
  mounted() {
42131
42159
  var _this5 = this;
42132
- return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee6() {
42133
- return _regenerator().w(function (_context6) {
42134
- 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) {
42135
42163
  case 0:
42136
42164
  console.info('MobilePhone mounted');
42137
- _context6.n = 1;
42165
+ _context5.n = 1;
42138
42166
  return _this5.checkBrowser().catch(e => {
42139
42167
  _this5.showSnackbar = true;
42140
42168
  _this5.snackbarText = e;
@@ -42161,9 +42189,9 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42161
42189
  _this5.showAudioPlayer = false;
42162
42190
  });
42163
42191
  case 2:
42164
- return _context6.a(2);
42192
+ return _context5.a(2);
42165
42193
  }
42166
- }, _callee6);
42194
+ }, _callee5);
42167
42195
  }))();
42168
42196
  },
42169
42197
  beforeDestroy() {
@@ -42174,11 +42202,11 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42174
42202
  });
42175
42203
  // CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=script&lang=js
42176
42204
  /* harmony default export */ var components_MobilePhonevue_type_script_lang_js = (MobilePhonevue_type_script_lang_js);
42177
- // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=0&id=2e362bc0&prod&lang=scss
42178
- var MobilePhonevue_type_style_index_0_id_2e362bc0_prod_lang_scss = __webpack_require__("5e53");
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");
42179
42207
 
42180
- // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=1&id=2e362bc0&prod&scoped=true&lang=scss
42181
- var MobilePhonevue_type_style_index_1_id_2e362bc0_prod_scoped_true_lang_scss = __webpack_require__("2ece");
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");
42182
42210
 
42183
42211
  // CONCATENATED MODULE: ./src/components/MobilePhone.vue
42184
42212
 
@@ -42196,7 +42224,7 @@ var MobilePhone_component = normalizeComponent(
42196
42224
  staticRenderFns,
42197
42225
  false,
42198
42226
  null,
42199
- "2e362bc0",
42227
+ "6219df5e",
42200
42228
  null
42201
42229
 
42202
42230
  )