@sdk185/sip-phone-sdk26 0.1.4 → 0.1.6

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.
@@ -3785,17 +3785,6 @@ module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
3785
3785
  };
3786
3786
 
3787
3787
 
3788
- /***/ }),
3789
-
3790
- /***/ "3a9a":
3791
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
3792
-
3793
- "use strict";
3794
- /* 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_74e259d8_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5e87");
3795
- /* 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_74e259d8_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_74e259d8_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
3796
- /* unused harmony reexport * */
3797
-
3798
-
3799
3788
  /***/ }),
3800
3789
 
3801
3790
  /***/ "3a9b":
@@ -20416,13 +20405,6 @@ setToStringTag(PromiseConstructor, PROMISE, false, true);
20416
20405
  setSpecies(PROMISE);
20417
20406
 
20418
20407
 
20419
- /***/ }),
20420
-
20421
- /***/ "5e87":
20422
- /***/ (function(module, exports, __webpack_require__) {
20423
-
20424
- // extracted by mini-css-extract-plugin
20425
-
20426
20408
  /***/ }),
20427
20409
 
20428
20410
  /***/ "5eed":
@@ -22392,6 +22374,24 @@ module.exports = function (O) {
22392
22374
  };
22393
22375
 
22394
22376
 
22377
+ /***/ }),
22378
+
22379
+ /***/ "7635":
22380
+ /***/ (function(module, exports, __webpack_require__) {
22381
+
22382
+ // extracted by mini-css-extract-plugin
22383
+
22384
+ /***/ }),
22385
+
22386
+ /***/ "7709":
22387
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
22388
+
22389
+ "use strict";
22390
+ /* 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_3557207d_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7635");
22391
+ /* 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_3557207d_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_3557207d_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
22392
+ /* unused harmony reexport * */
22393
+
22394
+
22395
22395
  /***/ }),
22396
22396
 
22397
22397
  /***/ "77a7":
@@ -22675,6 +22675,13 @@ module.exports = Object.create || function create(O, Properties) {
22675
22675
  };
22676
22676
 
22677
22677
 
22678
+ /***/ }),
22679
+
22680
+ /***/ "7cc0":
22681
+ /***/ (function(module, exports, __webpack_require__) {
22682
+
22683
+ // extracted by mini-css-extract-plugin
22684
+
22678
22685
  /***/ }),
22679
22686
 
22680
22687
  /***/ "7d54":
@@ -23890,6 +23897,17 @@ module.exports = function intersection(other) {
23890
23897
 
23891
23898
  // extracted by mini-css-extract-plugin
23892
23899
 
23900
+ /***/ }),
23901
+
23902
+ /***/ "97c3":
23903
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
23904
+
23905
+ "use strict";
23906
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_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_3557207d_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7cc0");
23907
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_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_3557207d_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_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_3557207d_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
23908
+ /* unused harmony reexport * */
23909
+
23910
+
23893
23911
  /***/ }),
23894
23912
 
23895
23913
  /***/ "9861":
@@ -27546,17 +27564,6 @@ function v1(options, buf, offset) {
27546
27564
  module.exports = v1;
27547
27565
 
27548
27566
 
27549
- /***/ }),
27550
-
27551
- /***/ "c59f":
27552
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
27553
-
27554
- "use strict";
27555
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_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_74e259d8_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c8c9");
27556
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_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_74e259d8_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_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_74e259d8_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
27557
- /* unused harmony reexport * */
27558
-
27559
-
27560
27567
  /***/ }),
27561
27568
 
27562
27569
  /***/ "c5cc":
@@ -27963,13 +27970,6 @@ try {
27963
27970
  module.exports = g;
27964
27971
 
27965
27972
 
27966
- /***/ }),
27967
-
27968
- /***/ "c8c9":
27969
- /***/ (function(module, exports, __webpack_require__) {
27970
-
27971
- // extracted by mini-css-extract-plugin
27972
-
27973
27973
  /***/ }),
27974
27974
 
27975
27975
  /***/ "c8d2":
@@ -37080,7 +37080,7 @@ var VSnackbar = __webpack_require__("ca71");
37080
37080
  }, [this.transition !== false ? this.genTransition() : this.genWrapper()]);
37081
37081
  }
37082
37082
  }));
37083
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"74a9125d-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=74e259d8&scoped=true
37083
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"74a9125d-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=3557207d&scoped=true
37084
37084
 
37085
37085
 
37086
37086
 
@@ -37089,11 +37089,11 @@ var VSnackbar = __webpack_require__("ca71");
37089
37089
 
37090
37090
 
37091
37091
 
37092
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"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 btn-group"},[_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",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"},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"},attrs:{"autoplay":"autoplay","webkit-playsinline":"true","playsinline":"true","x-webkit-airplay":"true","x5-video-player-type":"h5","x5-video-orientation":"h5","controls":""}})],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",attrs:{"autoplay":"autoplay","muted":"","webkit-playsinline":"true","playsinline":"true","x-webkit-airplay":"true","x5-video-player-type":"h5","x5-video-orientation":"h5","controls":""},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)}
37092
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"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 sip-btn-group"},[_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",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"},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"},attrs:{"autoplay":"autoplay","webkit-playsinline":"true","playsinline":"true","x-webkit-airplay":"true","x5-video-player-type":"h5","x5-video-orientation":"h5","controls":""}})],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",attrs:{"autoplay":"autoplay","muted":"","webkit-playsinline":"true","playsinline":"true","x-webkit-airplay":"true","x5-video-player-type":"h5","x5-video-orientation":"h5","controls":""},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)}
37093
37093
  var staticRenderFns = []
37094
37094
 
37095
37095
 
37096
- // CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=template&id=74e259d8&scoped=true
37096
+ // CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=template&id=3557207d&scoped=true
37097
37097
 
37098
37098
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js
37099
37099
  function _regeneratorDefine(e, r, n, t) {
@@ -41182,6 +41182,29 @@ function hexToStr(str) {
41182
41182
  this.callDuration++;
41183
41183
  }, 1000);
41184
41184
  },
41185
+ // async onSwitchCameraBtnClick() {
41186
+ // const list = await navigator.mediaDevices.enumerateDevices()
41187
+ // console.warn(list)
41188
+ // let videoOption = {
41189
+ // facingMode: 'user',
41190
+ // }
41191
+ // if (this.cameraType === 'front') {
41192
+ // videoOption = {
41193
+ // facingMode: { exact: 'environment' }
41194
+ // }
41195
+ // }
41196
+ // Object.assign(videoOption, window.config.videoParams)
41197
+
41198
+ // const stream = await navigator.mediaDevices.getUserMedia({
41199
+ // video: videoOption,
41200
+ // audio: false
41201
+ // })
41202
+ // if (stream) {
41203
+ // this.cameraType = this.cameraType === 'front' ? 'back' : 'front'
41204
+ // this.$refs.localVideo.srcObject = stream
41205
+ // this.sipMix.changeLocalVideoTrack({stream})
41206
+ // }
41207
+ // },
41185
41208
  onSwitchCameraBtnClick() {
41186
41209
  var _this2 = this;
41187
41210
  return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
@@ -41193,18 +41216,25 @@ function hexToStr(str) {
41193
41216
  return navigator.mediaDevices.enumerateDevices();
41194
41217
  case 1:
41195
41218
  list = _context2.v;
41196
- console.warn(list);
41219
+ console.warn(list); // 调试用:打印设备列表,可看到摄像头设备信息
41220
+
41221
+ // 2. 初始化摄像头配置(默认前置摄像头)
41197
41222
  videoOption = {
41198
- facingMode: 'user'
41199
- };
41223
+ facingMode: 'user' // user = 前置摄像头(面向用户)
41224
+ }; // 3. 切换摄像头配置:如果当前是前置,切换为后置
41225
+
41200
41226
  if (_this2.cameraType === 'front') {
41201
41227
  videoOption = {
41202
41228
  facingMode: {
41203
41229
  exact: 'environment'
41204
- }
41230
+ } // environment = 后置摄像头(面向环境)
41205
41231
  };
41206
41232
  }
41233
+
41234
+ // 4. 合并全局视频参数(比如分辨率、帧率等配置)
41207
41235
  Object.assign(videoOption, window.config.videoParams);
41236
+
41237
+ // 5. 重新请求摄像头媒体流(只请求视频,不请求音频)
41208
41238
  _context2.n = 2;
41209
41239
  return navigator.mediaDevices.getUserMedia({
41210
41240
  video: videoOption,
@@ -41212,9 +41242,18 @@ function hexToStr(str) {
41212
41242
  });
41213
41243
  case 2:
41214
41244
  stream = _context2.v;
41245
+ // 6. 流获取成功后执行核心操作
41215
41246
  if (stream) {
41247
+ // ① 切换摄像头状态标记(front ↔ back)
41216
41248
  _this2.cameraType = _this2.cameraType === 'front' ? 'back' : 'front';
41249
+
41250
+ // ② 更新本地video标签的流(这是视频画面显示的核心)
41217
41251
  _this2.$refs.localVideo.srcObject = stream;
41252
+
41253
+ // 本次新增修改点:强制显示本地视频
41254
+ _this2.localVideo.show = true;
41255
+
41256
+ // ③ 同步新的视频流到通话链路(让对方也看到切换后的画面)
41218
41257
  _this2.sipMix.changeLocalVideoTrack({
41219
41258
  stream
41220
41259
  });
@@ -41364,7 +41403,7 @@ function hexToStr(str) {
41364
41403
  case 0:
41365
41404
  console.info('localStream', stream, info);
41366
41405
  _this4.$refs.localVideo.srcObject = stream;
41367
- if (!_this4.LocalVideo.show) {
41406
+ if (!_this4.localVideo.show) {
41368
41407
  _context4.n = 1;
41369
41408
  break;
41370
41409
  }
@@ -41560,11 +41599,11 @@ function hexToStr(str) {
41560
41599
  });
41561
41600
  // CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=script&lang=js
41562
41601
  /* harmony default export */ var components_MobilePhonevue_type_script_lang_js = (MobilePhonevue_type_script_lang_js);
41563
- // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=0&id=74e259d8&prod&lang=scss
41564
- var MobilePhonevue_type_style_index_0_id_74e259d8_prod_lang_scss = __webpack_require__("3a9a");
41602
+ // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=0&id=3557207d&prod&lang=scss
41603
+ var MobilePhonevue_type_style_index_0_id_3557207d_prod_lang_scss = __webpack_require__("7709");
41565
41604
 
41566
- // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=1&id=74e259d8&prod&scoped=true&lang=css
41567
- var MobilePhonevue_type_style_index_1_id_74e259d8_prod_scoped_true_lang_css = __webpack_require__("c59f");
41605
+ // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=1&id=3557207d&prod&scoped=true&lang=css
41606
+ var MobilePhonevue_type_style_index_1_id_3557207d_prod_scoped_true_lang_css = __webpack_require__("97c3");
41568
41607
 
41569
41608
  // CONCATENATED MODULE: ./src/components/MobilePhone.vue
41570
41609
 
@@ -41582,7 +41621,7 @@ var MobilePhone_component = normalizeComponent(
41582
41621
  staticRenderFns,
41583
41622
  false,
41584
41623
  null,
41585
- "74e259d8",
41624
+ "3557207d",
41586
41625
  null
41587
41626
 
41588
41627
  )