@sdk185/sip-phone-sdk26 0.2.17 → 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":
@@ -1367,17 +1378,6 @@ module.exports = function (it, Prototype) {
1367
1378
  };
1368
1379
 
1369
1380
 
1370
- /***/ }),
1371
-
1372
- /***/ "19bc":
1373
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1374
-
1375
- "use strict";
1376
- /* 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_5e7d1922_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("bc62");
1377
- /* 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_5e7d1922_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_5e7d1922_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
1378
- /* unused harmony reexport * */
1379
-
1380
-
1381
1381
  /***/ }),
1382
1382
 
1383
1383
  /***/ "1a2d":
@@ -3977,6 +3977,13 @@ defineIterator(String, 'String', function (iterated) {
3977
3977
  });
3978
3978
 
3979
3979
 
3980
+ /***/ }),
3981
+
3982
+ /***/ "3d2a":
3983
+ /***/ (function(module, exports, __webpack_require__) {
3984
+
3985
+ // extracted by mini-css-extract-plugin
3986
+
3980
3987
  /***/ }),
3981
3988
 
3982
3989
  /***/ "3f7e":
@@ -19073,17 +19080,6 @@ module.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function
19073
19080
  } : $isExtensible;
19074
19081
 
19075
19082
 
19076
- /***/ }),
19077
-
19078
- /***/ "4ff6":
19079
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
19080
-
19081
- "use strict";
19082
- /* 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_5e7d1922_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5361");
19083
- /* 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_5e7d1922_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_5e7d1922_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
19084
- /* unused harmony reexport * */
19085
-
19086
-
19087
19083
  /***/ }),
19088
19084
 
19089
19085
  /***/ "5087":
@@ -19844,13 +19840,6 @@ module.exports = {
19844
19840
  };
19845
19841
 
19846
19842
 
19847
- /***/ }),
19848
-
19849
- /***/ "5361":
19850
- /***/ (function(module, exports, __webpack_require__) {
19851
-
19852
- // extracted by mini-css-extract-plugin
19853
-
19854
19843
  /***/ }),
19855
19844
 
19856
19845
  /***/ "5388":
@@ -23386,6 +23375,17 @@ module.exports = uncurryThisAccessor(SetHelpers.proto, 'size', 'get') || functio
23386
23375
  };
23387
23376
 
23388
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
+
23389
23389
  /***/ }),
23390
23390
 
23391
23391
  /***/ "907a":
@@ -24017,6 +24017,13 @@ var ENVIRONMENT = __webpack_require__("8558");
24017
24017
  module.exports = ENVIRONMENT === 'NODE';
24018
24018
 
24019
24019
 
24020
+ /***/ }),
24021
+
24022
+ /***/ "9ae5":
24023
+ /***/ (function(module, exports, __webpack_require__) {
24024
+
24025
+ // extracted by mini-css-extract-plugin
24026
+
24020
24027
  /***/ }),
24021
24028
 
24022
24029
  /***/ "9bdd":
@@ -27272,13 +27279,6 @@ module.exports = !fails(function () {
27272
27279
  });
27273
27280
 
27274
27281
 
27275
- /***/ }),
27276
-
27277
- /***/ "bc62":
27278
- /***/ (function(module, exports, __webpack_require__) {
27279
-
27280
- // extracted by mini-css-extract-plugin
27281
-
27282
27282
  /***/ }),
27283
27283
 
27284
27284
  /***/ "bcbf":
@@ -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=5e7d1922&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=5e7d1922&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) {
@@ -41965,42 +41965,24 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
41965
41965
  });
41966
41966
  this.sipMix.on('localStream', /*#__PURE__*/function () {
41967
41967
  var _ref5 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(stream, info) {
41968
- var screenWidth, screenHeight;
41969
41968
  return _regenerator().w(function (_context4) {
41970
41969
  while (1) switch (_context4.n) {
41971
41970
  case 0:
41972
41971
  console.info('localStream', stream, info);
41973
- console.log('=== localStream event triggered ===');
41974
41972
  _this4.$refs.localVideo.srcObject = stream;
41975
41973
 
41976
- // 2024-04-08 fix: iOS localStream event optimization
41977
- // Problem: iOS devices stuck in localStream phase, Android works fine
41978
- // Solution: Remove delay and handle video stream immediately
41979
- console.log('Setting localVideo size and position...');
41980
-
41981
- // Use window dimensions instead of clientWidth to avoid timing issues
41982
- screenWidth = window.innerWidth || _this4.clientWidth || 375;
41983
- screenHeight = window.innerHeight || _this4.clientHeight || 667;
41984
- _this4.localVideo.w = parseInt(screenWidth / 3); // 1/3 screen width
41985
- _this4.localVideo.h = parseInt(screenHeight / 3); // 1/3 screen height
41986
- _this4.localVideo.x = 0; // Left position
41987
- _this4.localVideo.y = 80; // Top offset (avoid UI overlap)
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
41988
41981
  _this4.localVideo.z = 1100; // Foreground layer
41989
41982
  _this4.localVideo.draggable = true; // Enable dragging
41990
41983
 
41991
- console.log('Calculated localVideo settings:', {
41992
- w: _this4.localVideo.w,
41993
- h: _this4.localVideo.h,
41994
- x: _this4.localVideo.x,
41995
- y: _this4.localVideo.y,
41996
- z: _this4.localVideo.z,
41997
- draggable: _this4.localVideo.draggable
41998
- });
41999
41984
  _this4.showVideoCt = true;
42000
41985
  _this4.localVideo.show = true;
42001
-
42002
- // await this.$nextTick()
42003
- // this.$refs.localVideo.srcObject = stream
42004
41986
  case 1:
42005
41987
  return _context4.a(2);
42006
41988
  }
@@ -42013,17 +41995,21 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42013
41995
  this.sipMix.on('remoteStream', (stream, info) => {
42014
41996
  console.info('remoteStream', stream, info);
42015
41997
  this._resetCmpWHLRTB();
42016
- Object.assign(this.localVideo, {
42017
- w: parseInt(this.clientWidth / 3),
42018
- h: parseInt(this.clientHeight / 3),
42019
- x: 0,
42020
- y: 80,
42021
- z: 1100,
42022
- draggable: true
42023
- });
42024
- this.$nextTick(() => {
42025
- this.$refs.localVideoWrapper.moveVertically(80);
42026
- });
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
+
42027
42013
  setTimeout(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5() {
42028
42014
  return _regenerator().w(function (_context5) {
42029
42015
  while (1) switch (_context5.n) {
@@ -42194,11 +42180,11 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
42194
42180
  });
42195
42181
  // CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=script&lang=js
42196
42182
  /* harmony default export */ var components_MobilePhonevue_type_script_lang_js = (MobilePhonevue_type_script_lang_js);
42197
- // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=0&id=5e7d1922&prod&lang=scss
42198
- var MobilePhonevue_type_style_index_0_id_5e7d1922_prod_lang_scss = __webpack_require__("4ff6");
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");
42199
42185
 
42200
- // EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=1&id=5e7d1922&prod&scoped=true&lang=scss
42201
- var MobilePhonevue_type_style_index_1_id_5e7d1922_prod_scoped_true_lang_scss = __webpack_require__("19bc");
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");
42202
42188
 
42203
42189
  // CONCATENATED MODULE: ./src/components/MobilePhone.vue
42204
42190
 
@@ -42216,7 +42202,7 @@ var MobilePhone_component = normalizeComponent(
42216
42202
  staticRenderFns,
42217
42203
  false,
42218
42204
  null,
42219
- "5e7d1922",
42205
+ "533f5806",
42220
42206
  null
42221
42207
 
42222
42208
  )