@sdk185/sip-phone-sdk26 0.2.32 → 0.2.34
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.
- package/dist/sip-phone-sdk.common.js +50 -128
- package/dist/sip-phone-sdk.css +1 -1
- package/dist/sip-phone-sdk.umd.js +50 -128
- package/dist/sip-phone-sdk.umd.min.js +5 -5
- package/package.json +1 -1
- package/src/components/MobilePhone.vue +7 -107
|
@@ -145,6 +145,17 @@ test[TO_STRING_TAG] = 'z';
|
|
|
145
145
|
module.exports = String(test) === '[object z]';
|
|
146
146
|
|
|
147
147
|
|
|
148
|
+
/***/ }),
|
|
149
|
+
|
|
150
|
+
/***/ "0119":
|
|
151
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
152
|
+
|
|
153
|
+
"use strict";
|
|
154
|
+
/* 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_10ca09e8_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b291");
|
|
155
|
+
/* 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_10ca09e8_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_10ca09e8_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
156
|
+
/* unused harmony reexport * */
|
|
157
|
+
|
|
158
|
+
|
|
148
159
|
/***/ }),
|
|
149
160
|
|
|
150
161
|
/***/ "015d":
|
|
@@ -342,6 +353,17 @@ exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDes
|
|
|
342
353
|
};
|
|
343
354
|
|
|
344
355
|
|
|
356
|
+
/***/ }),
|
|
357
|
+
|
|
358
|
+
/***/ "07e5":
|
|
359
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
360
|
+
|
|
361
|
+
"use strict";
|
|
362
|
+
/* 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_10ca09e8_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ce29");
|
|
363
|
+
/* 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_10ca09e8_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_10ca09e8_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
364
|
+
/* unused harmony reexport * */
|
|
365
|
+
|
|
366
|
+
|
|
345
367
|
/***/ }),
|
|
346
368
|
|
|
347
369
|
/***/ "07fa":
|
|
@@ -18030,17 +18052,6 @@ if ($transfer) $({ target: 'ArrayBuffer', proto: true }, {
|
|
|
18030
18052
|
});
|
|
18031
18053
|
|
|
18032
18054
|
|
|
18033
|
-
/***/ }),
|
|
18034
|
-
|
|
18035
|
-
/***/ "4165":
|
|
18036
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
18037
|
-
|
|
18038
|
-
"use strict";
|
|
18039
|
-
/* 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_53b4a473_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6949");
|
|
18040
|
-
/* 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_53b4a473_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_53b4a473_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
18041
|
-
/* unused harmony reexport * */
|
|
18042
|
-
|
|
18043
|
-
|
|
18044
18055
|
/***/ }),
|
|
18045
18056
|
|
|
18046
18057
|
/***/ "418f":
|
|
@@ -19048,17 +19059,6 @@ exportTypedArrayMethod('with', { 'with': function (index, value) {
|
|
|
19048
19059
|
__webpack_require__("6f48");
|
|
19049
19060
|
|
|
19050
19061
|
|
|
19051
|
-
/***/ }),
|
|
19052
|
-
|
|
19053
|
-
/***/ "4f3a":
|
|
19054
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
19055
|
-
|
|
19056
|
-
"use strict";
|
|
19057
|
-
/* 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_53b4a473_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("564b");
|
|
19058
|
-
/* 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_53b4a473_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_53b4a473_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
19059
|
-
/* unused harmony reexport * */
|
|
19060
|
-
|
|
19061
|
-
|
|
19062
19062
|
/***/ }),
|
|
19063
19063
|
|
|
19064
19064
|
/***/ "4fad":
|
|
@@ -19893,13 +19893,6 @@ if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) {
|
|
|
19893
19893
|
}
|
|
19894
19894
|
|
|
19895
19895
|
|
|
19896
|
-
/***/ }),
|
|
19897
|
-
|
|
19898
|
-
/***/ "564b":
|
|
19899
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
19900
|
-
|
|
19901
|
-
// extracted by mini-css-extract-plugin
|
|
19902
|
-
|
|
19903
19896
|
/***/ }),
|
|
19904
19897
|
|
|
19905
19898
|
/***/ "5692":
|
|
@@ -21473,13 +21466,6 @@ module.exports = !construct || fails(function () {
|
|
|
21473
21466
|
}) ? isConstructorLegacy : isConstructorModern;
|
|
21474
21467
|
|
|
21475
21468
|
|
|
21476
|
-
/***/ }),
|
|
21477
|
-
|
|
21478
|
-
/***/ "6949":
|
|
21479
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
21480
|
-
|
|
21481
|
-
// extracted by mini-css-extract-plugin
|
|
21482
|
-
|
|
21483
21469
|
/***/ }),
|
|
21484
21470
|
|
|
21485
21471
|
/***/ "6964":
|
|
@@ -24805,6 +24791,13 @@ module.exports = DESCRIPTORS && fails(function () {
|
|
|
24805
24791
|
});
|
|
24806
24792
|
|
|
24807
24793
|
|
|
24794
|
+
/***/ }),
|
|
24795
|
+
|
|
24796
|
+
/***/ "b291":
|
|
24797
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
24798
|
+
|
|
24799
|
+
// extracted by mini-css-extract-plugin
|
|
24800
|
+
|
|
24808
24801
|
/***/ }),
|
|
24809
24802
|
|
|
24810
24803
|
/***/ "b39a":
|
|
@@ -28715,6 +28708,13 @@ module.exports = function (C, x) {
|
|
|
28715
28708
|
};
|
|
28716
28709
|
|
|
28717
28710
|
|
|
28711
|
+
/***/ }),
|
|
28712
|
+
|
|
28713
|
+
/***/ "ce29":
|
|
28714
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
28715
|
+
|
|
28716
|
+
// extracted by mini-css-extract-plugin
|
|
28717
|
+
|
|
28718
28718
|
/***/ }),
|
|
28719
28719
|
|
|
28720
28720
|
/***/ "cf98":
|
|
@@ -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=
|
|
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=10ca09e8&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",staticStyle:{"overflow":"hidden !important"},on:{"click":_vm.onSipCallClick}},[_c('vue-draggable-resizable',{directives:[{name:"show",rawName:"v-show",value:(_vm.remoteVideo.show),expression:"remoteVideo.show"}],ref:"remoteVideoWrapper",staticStyle:{"overflow":"hidden !important"},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","transform":"scale(1.1) !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":""}
|
|
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",staticStyle:{"overflow":"hidden !important"},on:{"click":_vm.onSipCallClick}},[_c('vue-draggable-resizable',{directives:[{name:"show",rawName:"v-show",value:(_vm.remoteVideo.show),expression:"remoteVideo.show"}],ref:"remoteVideoWrapper",staticStyle:{"overflow":"hidden !important"},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","transform":"scale(1.1) !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":120,"h":260,"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=
|
|
37633
|
+
// CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=template&id=10ca09e8&scoped=true
|
|
37634
37634
|
|
|
37635
37635
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js
|
|
37636
37636
|
function _regeneratorDefine(e, r, n, t) {
|
|
@@ -41277,8 +41277,6 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
|
|
|
41277
41277
|
//
|
|
41278
41278
|
//
|
|
41279
41279
|
//
|
|
41280
|
-
//
|
|
41281
|
-
//
|
|
41282
41280
|
|
|
41283
41281
|
|
|
41284
41282
|
|
|
@@ -41339,8 +41337,9 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
|
|
|
41339
41337
|
return {
|
|
41340
41338
|
prompt: `${this.$t('serverConnecting')}...`,
|
|
41341
41339
|
callPrompt: this.$t('pleaseBePatient'),
|
|
41342
|
-
chatURL:
|
|
41343
|
-
|
|
41340
|
+
// chatURL:"https://kefu-gm-jc-dat.boc-samsunglife.cn",// dat环境切换
|
|
41341
|
+
chatURL: "https://kefu-gm-jc-uat.boc-samsunglife.cn",
|
|
41342
|
+
// uat环境切换
|
|
41344
41343
|
isCalling: false,
|
|
41345
41344
|
showHangup: false,
|
|
41346
41345
|
showAudioPlayer: true,
|
|
@@ -41885,17 +41884,6 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
|
|
|
41885
41884
|
}, _callee3);
|
|
41886
41885
|
}))();
|
|
41887
41886
|
},
|
|
41888
|
-
// 视频成功播放回调
|
|
41889
|
-
onRemoteVideoPlaying() {
|
|
41890
|
-
console.log('[iOS] Remote video is playing');
|
|
41891
|
-
},
|
|
41892
|
-
// 元数据加载完成回调
|
|
41893
|
-
onRemoteVideoLoaded() {
|
|
41894
|
-
console.log('[iOS] Remote video metadata loaded');
|
|
41895
|
-
if (this.$refs.remoteVideo) {
|
|
41896
|
-
this.$refs.remoteVideo.play().catch(() => {});
|
|
41897
|
-
}
|
|
41898
|
-
},
|
|
41899
41887
|
startSip(_ref3) {
|
|
41900
41888
|
var _this4 = this;
|
|
41901
41889
|
var debug = _ref3.debug,
|
|
@@ -42007,48 +41995,8 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
|
|
|
42007
41995
|
return _ref5.apply(this, arguments);
|
|
42008
41996
|
};
|
|
42009
41997
|
}());
|
|
42010
|
-
|
|
42011
|
-
// this.sipMix.on('remoteStream', (stream, info) => {
|
|
42012
|
-
// console.info('remoteStream', stream, info)
|
|
42013
|
-
// this._resetCmpWHLRTB()
|
|
42014
|
-
|
|
42015
|
-
// Object.assign(this.localVideo, {
|
|
42016
|
-
// w: parseInt(this.clientWidth / 3),
|
|
42017
|
-
// h: parseInt(this.clientHeight / 3),
|
|
42018
|
-
// x: 0,
|
|
42019
|
-
// y: 80,
|
|
42020
|
-
// z: 1100,
|
|
42021
|
-
// draggable: true
|
|
42022
|
-
// })
|
|
42023
|
-
// this.$nextTick(() => {
|
|
42024
|
-
// this.$refs.localVideoWrapper.moveVertically(80)
|
|
42025
|
-
// })
|
|
42026
|
-
|
|
42027
|
-
// setTimeout(async () => {
|
|
42028
|
-
// Object.assign(this.remoteVideo, {
|
|
42029
|
-
// show: true,
|
|
42030
|
-
// w: this.clientWidth,
|
|
42031
|
-
// h: this.clientHeight,
|
|
42032
|
-
// x: 0,
|
|
42033
|
-
// y: 0,
|
|
42034
|
-
// z: 1000,
|
|
42035
|
-
// draggable: false
|
|
42036
|
-
// })
|
|
42037
|
-
|
|
42038
|
-
// await this.$nextTick()
|
|
42039
|
-
// if (this.autoHideLocalVideo) {
|
|
42040
|
-
// this.localVideo.show = false
|
|
42041
|
-
// }
|
|
42042
|
-
// this.$refs.remoteVideo.srcObject = stream
|
|
42043
|
-
// }, 500)
|
|
42044
|
-
|
|
42045
|
-
// })
|
|
42046
|
-
|
|
42047
41998
|
this.sipMix.on('remoteStream', (stream, info) => {
|
|
42048
41999
|
console.info('remoteStream', stream, info);
|
|
42049
|
-
var video = this.$refs.remoteVideo;
|
|
42050
|
-
if (!video) return;
|
|
42051
|
-
video.srcObject = stream;
|
|
42052
42000
|
this._resetCmpWHLRTB();
|
|
42053
42001
|
Object.assign(this.localVideo, {
|
|
42054
42002
|
w: parseInt(this.clientWidth / 3),
|
|
@@ -42059,35 +42007,8 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
|
|
|
42059
42007
|
draggable: true
|
|
42060
42008
|
});
|
|
42061
42009
|
this.$nextTick(() => {
|
|
42062
|
-
|
|
42063
|
-
var forcePlay = () => {
|
|
42064
|
-
if (video.paused || video.ended) {
|
|
42065
|
-
video.play().catch(err => {
|
|
42066
|
-
console.warn('Force play failed:', err.name);
|
|
42067
|
-
});
|
|
42068
|
-
}
|
|
42069
|
-
};
|
|
42070
|
-
|
|
42071
|
-
// 更紧凑的调用顺序,减少延迟
|
|
42072
|
-
forcePlay(); // 立即
|
|
42073
|
-
setTimeout(forcePlay, 30); // 30ms
|
|
42074
|
-
setTimeout(forcePlay, 100); // 100ms
|
|
42075
|
-
|
|
42076
|
-
// 只监听一次,避免重复触发
|
|
42077
|
-
video.addEventListener('pause', forcePlay, {
|
|
42078
|
-
once: true
|
|
42079
|
-
});
|
|
42080
|
-
|
|
42081
|
-
// 元数据加载完立即播放
|
|
42082
|
-
video.addEventListener('loadedmetadata', () => {
|
|
42083
|
-
console.log('[iOS] metadata loaded → force play');
|
|
42084
|
-
forcePlay();
|
|
42085
|
-
}, {
|
|
42086
|
-
once: true
|
|
42087
|
-
});
|
|
42010
|
+
this.$refs.localVideoWrapper.moveVertically(80);
|
|
42088
42011
|
});
|
|
42089
|
-
|
|
42090
|
-
// 原有后续代码保持不变
|
|
42091
42012
|
setTimeout(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5() {
|
|
42092
42013
|
return _regenerator().w(function (_context5) {
|
|
42093
42014
|
while (1) switch (_context5.n) {
|
|
@@ -42107,11 +42028,12 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
|
|
|
42107
42028
|
if (_this4.autoHideLocalVideo) {
|
|
42108
42029
|
_this4.localVideo.show = false;
|
|
42109
42030
|
}
|
|
42031
|
+
_this4.$refs.remoteVideo.srcObject = stream;
|
|
42110
42032
|
case 2:
|
|
42111
42033
|
return _context5.a(2);
|
|
42112
42034
|
}
|
|
42113
42035
|
}, _callee5);
|
|
42114
|
-
})),
|
|
42036
|
+
})), 500);
|
|
42115
42037
|
});
|
|
42116
42038
|
this.sipMix.on('remoteRing', () => {
|
|
42117
42039
|
this.callPrompt = this.$t('remoteRinging');
|
|
@@ -42256,11 +42178,11 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
|
|
|
42256
42178
|
});
|
|
42257
42179
|
// CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=script&lang=js
|
|
42258
42180
|
/* harmony default export */ var components_MobilePhonevue_type_script_lang_js = (MobilePhonevue_type_script_lang_js);
|
|
42259
|
-
// EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=0&id=
|
|
42260
|
-
var
|
|
42181
|
+
// EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=0&id=10ca09e8&prod&lang=scss
|
|
42182
|
+
var MobilePhonevue_type_style_index_0_id_10ca09e8_prod_lang_scss = __webpack_require__("07e5");
|
|
42261
42183
|
|
|
42262
|
-
// EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=1&id=
|
|
42263
|
-
var
|
|
42184
|
+
// EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=1&id=10ca09e8&prod&scoped=true&lang=scss
|
|
42185
|
+
var MobilePhonevue_type_style_index_1_id_10ca09e8_prod_scoped_true_lang_scss = __webpack_require__("0119");
|
|
42264
42186
|
|
|
42265
42187
|
// CONCATENATED MODULE: ./src/components/MobilePhone.vue
|
|
42266
42188
|
|
|
@@ -42278,7 +42200,7 @@ var MobilePhone_component = normalizeComponent(
|
|
|
42278
42200
|
staticRenderFns,
|
|
42279
42201
|
false,
|
|
42280
42202
|
null,
|
|
42281
|
-
"
|
|
42203
|
+
"10ca09e8",
|
|
42282
42204
|
null
|
|
42283
42205
|
|
|
42284
42206
|
)
|