@sdk185/sip-phone-sdk26 0.2.16 → 0.2.19

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.
@@ -439,6 +439,17 @@ module.exports = function (originalArray) {
439
439
  };
440
440
 
441
441
 
442
+ /***/ }),
443
+
444
+ /***/ "0b55":
445
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
446
+
447
+ "use strict";
448
+ /* 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_533f5806_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9ae5");
449
+ /* 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_533f5806_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_533f5806_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
450
+ /* unused harmony reexport * */
451
+
452
+
442
453
  /***/ }),
443
454
 
444
455
  /***/ "0cb2":
@@ -3815,13 +3826,6 @@ module.exports = function (argument) {
3815
3826
  };
3816
3827
 
3817
3828
 
3818
- /***/ }),
3819
-
3820
- /***/ "3c2e":
3821
- /***/ (function(module, exports, __webpack_require__) {
3822
-
3823
- // extracted by mini-css-extract-plugin
3824
-
3825
3829
  /***/ }),
3826
3830
 
3827
3831
  /***/ "3c5d":
@@ -3973,6 +3977,13 @@ defineIterator(String, 'String', function (iterated) {
3973
3977
  });
3974
3978
 
3975
3979
 
3980
+ /***/ }),
3981
+
3982
+ /***/ "3d2a":
3983
+ /***/ (function(module, exports, __webpack_require__) {
3984
+
3985
+ // extracted by mini-css-extract-plugin
3986
+
3976
3987
  /***/ }),
3977
3988
 
3978
3989
  /***/ "3f7e":
@@ -23063,17 +23074,6 @@ fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCal
23063
23074
  });
23064
23075
 
23065
23076
 
23066
- /***/ }),
23067
-
23068
- /***/ "84b0":
23069
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
23070
-
23071
- "use strict";
23072
- /* 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_10178ad0_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3c2e");
23073
- /* 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_10178ad0_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_10178ad0_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
23074
- /* unused harmony reexport * */
23075
-
23076
-
23077
23077
  /***/ }),
23078
23078
 
23079
23079
  /***/ "8558":
@@ -23375,6 +23375,17 @@ module.exports = uncurryThisAccessor(SetHelpers.proto, 'size', 'get') || functio
23375
23375
  };
23376
23376
 
23377
23377
 
23378
+ /***/ }),
23379
+
23380
+ /***/ "9032":
23381
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
23382
+
23383
+ "use strict";
23384
+ /* 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_533f5806_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3d2a");
23385
+ /* 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_533f5806_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_533f5806_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
23386
+ /* unused harmony reexport * */
23387
+
23388
+
23378
23389
  /***/ }),
23379
23390
 
23380
23391
  /***/ "907a":
@@ -24006,6 +24017,13 @@ var ENVIRONMENT = __webpack_require__("8558");
24006
24017
  module.exports = ENVIRONMENT === 'NODE';
24007
24018
 
24008
24019
 
24020
+ /***/ }),
24021
+
24022
+ /***/ "9ae5":
24023
+ /***/ (function(module, exports, __webpack_require__) {
24024
+
24025
+ // extracted by mini-css-extract-plugin
24026
+
24009
24027
  /***/ }),
24010
24028
 
24011
24029
  /***/ "9bdd":
@@ -27082,17 +27100,6 @@ module.exports = {
27082
27100
  };
27083
27101
 
27084
27102
 
27085
- /***/ }),
27086
-
27087
- /***/ "b7af":
27088
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
27089
-
27090
- "use strict";
27091
- /* 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_10178ad0_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("dabe");
27092
- /* 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_10178ad0_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_10178ad0_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
27093
- /* unused harmony reexport * */
27094
-
27095
-
27096
27103
  /***/ }),
27097
27104
 
27098
27105
  /***/ "b7ef":
@@ -29255,13 +29262,6 @@ module.exports = function (options) {
29255
29262
  };
29256
29263
 
29257
29264
 
29258
- /***/ }),
29259
-
29260
- /***/ "dabe":
29261
- /***/ (function(module, exports, __webpack_require__) {
29262
-
29263
- // extracted by mini-css-extract-plugin
29264
-
29265
29265
  /***/ }),
29266
29266
 
29267
29267
  /***/ "dad2":
@@ -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=10178ad0&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=533f5806&scoped=true
37621
37621
 
37622
37622
 
37623
37623
 
@@ -37626,11 +37626,11 @@ var VSnackbar = __webpack_require__("ca71");
37626
37626
 
37627
37627
 
37628
37628
 
37629
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"phone-nmain d-flex flex-column align-center justify-space-between sip-call-main"},[(_vm.showLocation)?_c('div',{staticClass:"location-wrapper"},[_c('p',[_vm._v("LAT: "+_vm._s(_vm.latitude))]),_c('p',[_vm._v("LNG: "+_vm._s(_vm.longitude))]),_c('p',[_vm._v("ALT: "+_vm._s(_vm.altitude))])]):_vm._e(),(!_vm.miniMode && !_vm.showDialPad)?_c('div',{staticClass:"d-flex flex-column align-center call-btn"},[_c('img',{staticClass:"elevation-4 call-img",attrs:{"alt":"logo","src":_vm.chatURL+'/static/normal-logo.png'}}),_c('p',{staticClass:"mt-6 mb-0 call-label"},[_vm._v(_vm._s(_vm.callPrompt))])]):_vm._e(),(!_vm.miniMode && !_vm.showDialPad)?_c('div',{staticClass:"pr-10 pl-10 "},[_c(VRow,[_c(VCol,{staticClass:"text-center",attrs:{"cols":"12"}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticClass:"call-duration"},[_vm._v(" 视频时长 "+_vm._s(_vm.duration)+" ")])])],1),_c(VRow,{staticClass:"d-flex justify-space-around mb-10"},[_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(!_vm.isCalling && !_vm.needDial),expression:"!isCalling && !needDial"}],staticClass:"cancel-btn",staticStyle:{},on:{"click":_vm.onHangupBtnClick}},[_c('img',{staticClass:"cancel-img",attrs:{"src":_vm.chatURL+'/static/call-down.png',"alt":"hangup"}}),_c('span',{staticClass:"cancel-label"},[_vm._v("取消")])]),_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticClass:"custom-mute-btn btn-box",attrs:{"large":""},on:{"click":function($event){return _vm.onMuteBtnClick('audio')}}},[(!_vm.isAudioMute)?_c('img',{staticClass:"img-open-close",attrs:{"src":_vm.chatURL+'/static/adudio-open.png'}}):_c('img',{staticClass:"img-open-close",attrs:{"src":_vm.chatURL+'/static/adudio-close.png'}})]),_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticClass:"custom-mute-btn",attrs:{"large":""},on:{"click":function($event){return _vm.onMuteBtnClick('video')}}},[(!_vm.isVideoMute)?_c('img',{staticClass:"img-open-close",attrs:{"src":_vm.chatURL+'/static/camera-open.png',"alt":"mic-on"}}):_c('img',{staticClass:"img-open-close",attrs:{"src":_vm.chatURL+'/static/camera-close.png',"alt":"mic-off"}})])],1),_c(VRow,{staticClass:"d-flex justify-center mt-10",staticStyle:{"position":"relative","width":"100%"}},[_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticStyle:{"opacity":"1","background":"transparent","box-shadow":"none","position":"relative","z-index":"9999"},on:{"click":_vm.onHangupBtnClick}},[_c('img',{staticClass:"hangup-img",attrs:{"src":_vm.chatURL+'/static/call-down.png',"alt":"hangup"}}),_c('span',{staticClass:"hangup-label"},[_vm._v("挂断")])]),_c(VBtn_VBtn,{directives:[{name:"show",rawName:"v-show",value:(_vm.isCalling && _vm.showHangup),expression:"isCalling && showHangup"}],staticClass:"transparent-btn",on:{"click":_vm.onSwitchCameraBtnClick}},[_c(components_VIcon_VIcon,{attrs:{"size":"30"}},[_vm._v("mdi-camera-flip")])],1)],1)],1):_vm._e(),_c(VExpandTransition,[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showVideoCt),expression:"showVideoCt"}],staticClass:"sip-call-wrapper",on:{"click":_vm.onSipCallClick}},[_c('vue-draggable-resizable',{directives:[{name:"show",rawName:"v-show",value:(_vm.remoteVideo.show),expression:"remoteVideo.show"}],ref:"remoteVideoWrapper",attrs:{"w":_vm.remoteVideo.w,"h":_vm.remoteVideo.h,"x":_vm.remoteVideo.x,"y":_vm.remoteVideo.y,"z":_vm.remoteVideo.z,"draggable":_vm.remoteVideo.draggable,"handles":[],"parent":true,"active":false,"class-name":"elevation-6 video-panel"},nativeOn:{"mousedown":function($event){return _vm.onLocalVideoDragCallback($event, 'remoteVideo')}}},[(_vm.miniMode)?_c(VBtn_VBtn,{staticClass:"video-normal-mode",attrs:{"dark":"","text":"","x-small":"","width":"24","height":"24","min-width":"24"},on:{"click":_vm.onChangeVideoNormalModeBtnClick}},[_c(components_VIcon_VIcon,[_vm._v("mdi-arrow-bottom-right-bold-box")])],1):_vm._e(),_c('video',{directives:[{name:"show",rawName:"v-show",value:(_vm.remoteVideo.show),expression:"remoteVideo.show"}],ref:"remoteVideo",staticClass:"sip-call-video",staticStyle:{"object-fit":"contain","pointer-events":"none !important"},attrs:{"autoplay":"autoplay","webkit-playsinline":"true","playsinline":"true","x-webkit-airplay":"true","x5-video-player-type":"h5","x5-video-orientation":"h5","controls":"","controlsList":"nodownload nofullscreen noremoteplayback","disablepictureinpicture":""}})],1),_c('vue-draggable-resizable',{directives:[{name:"show",rawName:"v-show",value:(_vm.localVideo.show),expression:"localVideo.show"}],ref:"localVideoWrapper",attrs:{"w":_vm.localVideo.w,"h":_vm.localVideo.h,"x":_vm.localVideo.x,"y":_vm.localVideo.y,"z":_vm.localVideo.z,"draggable":_vm.localVideo.draggable,"handles":[],"parent":true,"active":false,"class-name":"elevation-6 video-panel"},nativeOn:{"mousedown":function($event){return _vm.onLocalVideoDragCallback($event, 'localVideo')}}},[_c('video',{directives:[{name:"show",rawName:"v-show",value:(_vm.localVideo.show),expression:"localVideo.show"}],ref:"localVideo",staticClass:"sip-call-video",staticStyle:{"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:"local-video-stream 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=10178ad0&scoped=true
37633
+ // CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=template&id=533f5806&scoped=true
37634
37634
 
37635
37635
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js
37636
37636
  function _regeneratorDefine(e, r, n, t) {
@@ -41969,33 +41969,20 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
41969
41969
  while (1) switch (_context4.n) {
41970
41970
  case 0:
41971
41971
  console.info('localStream', stream, info);
41972
- console.log('=== localStream event triggered ===');
41973
41972
  _this4.$refs.localVideo.srcObject = stream;
41974
41973
 
41975
- // 修复:在第一阶段就设置好本地视频位置和大小
41976
- // 参考 onChangeVideoFullScreenBtnClick 的方式,直接写死位置
41977
- // 避免 iOS 设备卡在第一阶段的问题
41978
- console.log('Setting localVideo size and position...');
41979
- _this4.localVideo.w = parseInt(_this4.clientWidth / 3); // 1/3 屏幕宽度
41980
- _this4.localVideo.h = parseInt(_this4.clientHeight / 3); // 1/3 屏幕高度
41981
- _this4.localVideo.x = 0; // 左侧位置
41982
- _this4.localVideo.y = 80; // 顶部偏移(避免UI重叠)
41983
- _this4.localVideo.z = 1100; // 前景层级
41984
- _this4.localVideo.draggable = true; // 启用拖拽
41985
-
41986
- console.log('localVideo settings:', {
41987
- w: _this4.localVideo.w,
41988
- h: _this4.localVideo.h,
41989
- x: _this4.localVideo.x,
41990
- y: _this4.localVideo.y,
41991
- z: _this4.localVideo.z,
41992
- draggable: _this4.localVideo.draggable
41993
- });
41974
+ // WebView iOS 2024-04-08 fix: Handle video display in WebView environment
41975
+ // Problem: iOS WebView forces fullscreen video and ignores size settings
41976
+ // Solution: Set minimal size and let WebView handle positioning
41977
+ _this4.localVideo.w = 120; // Fixed small width
41978
+ _this4.localVideo.h = 160; // Fixed small height
41979
+ _this4.localVideo.x = 10; // Small offset from left
41980
+ _this4.localVideo.y = 90; // Small offset from top
41981
+ _this4.localVideo.z = 1100; // Foreground layer
41982
+ _this4.localVideo.draggable = true; // Enable dragging
41983
+
41994
41984
  _this4.showVideoCt = true;
41995
41985
  _this4.localVideo.show = true;
41996
-
41997
- // await this.$nextTick()
41998
- // this.$refs.localVideo.srcObject = stream
41999
41986
  case 1:
42000
41987
  return _context4.a(2);
42001
41988
  }
@@ -42008,17 +41995,21 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42008
41995
  this.sipMix.on('remoteStream', (stream, info) => {
42009
41996
  console.info('remoteStream', stream, info);
42010
41997
  this._resetCmpWHLRTB();
42011
- Object.assign(this.localVideo, {
42012
- w: parseInt(this.clientWidth / 3),
42013
- h: parseInt(this.clientHeight / 3),
42014
- x: 0,
42015
- y: 80,
42016
- z: 1100,
42017
- draggable: true
42018
- });
42019
- this.$nextTick(() => {
42020
- this.$refs.localVideoWrapper.moveVertically(80);
42021
- });
41998
+
41999
+ // 2024-04-08 fix: Keep local video as fixed small window (120x160)
42000
+ // No need to resize local video, CSS handles fixed size
42001
+ // Object.assign(this.localVideo, {
42002
+ // w: parseInt(this.clientWidth / 3),
42003
+ // h: parseInt(this.clientHeight / 3),
42004
+ // x: 0,
42005
+ // y: 80,
42006
+ // z: 1100,
42007
+ // draggable: true
42008
+ // })
42009
+ // this.$nextTick(() => {
42010
+ // this.$refs.localVideoWrapper.moveVertically(80)
42011
+ // })
42012
+
42022
42013
  setTimeout(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5() {
42023
42014
  return _regenerator().w(function (_context5) {
42024
42015
  while (1) switch (_context5.n) {
@@ -42189,11 +42180,11 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42189
42180
  });
42190
42181
  // CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=script&lang=js
42191
42182
  /* harmony default export */ var components_MobilePhonevue_type_script_lang_js = (MobilePhonevue_type_script_lang_js);
42192
- // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=0&id=10178ad0&prod&lang=scss
42193
- var MobilePhonevue_type_style_index_0_id_10178ad0_prod_lang_scss = __webpack_require__("84b0");
42183
+ // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=0&id=533f5806&prod&lang=scss
42184
+ var MobilePhonevue_type_style_index_0_id_533f5806_prod_lang_scss = __webpack_require__("0b55");
42194
42185
 
42195
- // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=1&id=10178ad0&prod&scoped=true&lang=scss
42196
- var MobilePhonevue_type_style_index_1_id_10178ad0_prod_scoped_true_lang_scss = __webpack_require__("b7af");
42186
+ // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=1&id=533f5806&prod&scoped=true&lang=scss
42187
+ var MobilePhonevue_type_style_index_1_id_533f5806_prod_scoped_true_lang_scss = __webpack_require__("9032");
42197
42188
 
42198
42189
  // CONCATENATED MODULE: ./src/components/MobilePhone.vue
42199
42190
 
@@ -42211,7 +42202,7 @@ var MobilePhone_component = normalizeComponent(
42211
42202
  staticRenderFns,
42212
42203
  false,
42213
42204
  null,
42214
- "10178ad0",
42205
+ "533f5806",
42215
42206
  null
42216
42207
 
42217
42208
  )