@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
|
@@ -154,6 +154,17 @@ test[TO_STRING_TAG] = 'z';
|
|
|
154
154
|
module.exports = String(test) === '[object z]';
|
|
155
155
|
|
|
156
156
|
|
|
157
|
+
/***/ }),
|
|
158
|
+
|
|
159
|
+
/***/ "0119":
|
|
160
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
161
|
+
|
|
162
|
+
"use strict";
|
|
163
|
+
/* 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");
|
|
164
|
+
/* 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__);
|
|
165
|
+
/* unused harmony reexport * */
|
|
166
|
+
|
|
167
|
+
|
|
157
168
|
/***/ }),
|
|
158
169
|
|
|
159
170
|
/***/ "015d":
|
|
@@ -351,6 +362,17 @@ exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDes
|
|
|
351
362
|
};
|
|
352
363
|
|
|
353
364
|
|
|
365
|
+
/***/ }),
|
|
366
|
+
|
|
367
|
+
/***/ "07e5":
|
|
368
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
369
|
+
|
|
370
|
+
"use strict";
|
|
371
|
+
/* 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");
|
|
372
|
+
/* 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__);
|
|
373
|
+
/* unused harmony reexport * */
|
|
374
|
+
|
|
375
|
+
|
|
354
376
|
/***/ }),
|
|
355
377
|
|
|
356
378
|
/***/ "07fa":
|
|
@@ -18039,17 +18061,6 @@ if ($transfer) $({ target: 'ArrayBuffer', proto: true }, {
|
|
|
18039
18061
|
});
|
|
18040
18062
|
|
|
18041
18063
|
|
|
18042
|
-
/***/ }),
|
|
18043
|
-
|
|
18044
|
-
/***/ "4165":
|
|
18045
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
18046
|
-
|
|
18047
|
-
"use strict";
|
|
18048
|
-
/* 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");
|
|
18049
|
-
/* 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__);
|
|
18050
|
-
/* unused harmony reexport * */
|
|
18051
|
-
|
|
18052
|
-
|
|
18053
18064
|
/***/ }),
|
|
18054
18065
|
|
|
18055
18066
|
/***/ "418f":
|
|
@@ -19057,17 +19068,6 @@ exportTypedArrayMethod('with', { 'with': function (index, value) {
|
|
|
19057
19068
|
__webpack_require__("6f48");
|
|
19058
19069
|
|
|
19059
19070
|
|
|
19060
|
-
/***/ }),
|
|
19061
|
-
|
|
19062
|
-
/***/ "4f3a":
|
|
19063
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
19064
|
-
|
|
19065
|
-
"use strict";
|
|
19066
|
-
/* 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");
|
|
19067
|
-
/* 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__);
|
|
19068
|
-
/* unused harmony reexport * */
|
|
19069
|
-
|
|
19070
|
-
|
|
19071
19071
|
/***/ }),
|
|
19072
19072
|
|
|
19073
19073
|
/***/ "4fad":
|
|
@@ -19902,13 +19902,6 @@ if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) {
|
|
|
19902
19902
|
}
|
|
19903
19903
|
|
|
19904
19904
|
|
|
19905
|
-
/***/ }),
|
|
19906
|
-
|
|
19907
|
-
/***/ "564b":
|
|
19908
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
19909
|
-
|
|
19910
|
-
// extracted by mini-css-extract-plugin
|
|
19911
|
-
|
|
19912
19905
|
/***/ }),
|
|
19913
19906
|
|
|
19914
19907
|
/***/ "5692":
|
|
@@ -21482,13 +21475,6 @@ module.exports = !construct || fails(function () {
|
|
|
21482
21475
|
}) ? isConstructorLegacy : isConstructorModern;
|
|
21483
21476
|
|
|
21484
21477
|
|
|
21485
|
-
/***/ }),
|
|
21486
|
-
|
|
21487
|
-
/***/ "6949":
|
|
21488
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
21489
|
-
|
|
21490
|
-
// extracted by mini-css-extract-plugin
|
|
21491
|
-
|
|
21492
21478
|
/***/ }),
|
|
21493
21479
|
|
|
21494
21480
|
/***/ "6964":
|
|
@@ -24814,6 +24800,13 @@ module.exports = DESCRIPTORS && fails(function () {
|
|
|
24814
24800
|
});
|
|
24815
24801
|
|
|
24816
24802
|
|
|
24803
|
+
/***/ }),
|
|
24804
|
+
|
|
24805
|
+
/***/ "b291":
|
|
24806
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
24807
|
+
|
|
24808
|
+
// extracted by mini-css-extract-plugin
|
|
24809
|
+
|
|
24817
24810
|
/***/ }),
|
|
24818
24811
|
|
|
24819
24812
|
/***/ "b39a":
|
|
@@ -28724,6 +28717,13 @@ module.exports = function (C, x) {
|
|
|
28724
28717
|
};
|
|
28725
28718
|
|
|
28726
28719
|
|
|
28720
|
+
/***/ }),
|
|
28721
|
+
|
|
28722
|
+
/***/ "ce29":
|
|
28723
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
28724
|
+
|
|
28725
|
+
// extracted by mini-css-extract-plugin
|
|
28726
|
+
|
|
28727
28727
|
/***/ }),
|
|
28728
28728
|
|
|
28729
28729
|
/***/ "cf98":
|
|
@@ -37626,7 +37626,7 @@ var VSnackbar = __webpack_require__("ca71");
|
|
|
37626
37626
|
}, [this.transition !== false ? this.genTransition() : this.genWrapper()]);
|
|
37627
37627
|
}
|
|
37628
37628
|
}));
|
|
37629
|
-
// 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=
|
|
37629
|
+
// 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
|
|
37630
37630
|
|
|
37631
37631
|
|
|
37632
37632
|
|
|
@@ -37635,11 +37635,11 @@ var VSnackbar = __webpack_require__("ca71");
|
|
|
37635
37635
|
|
|
37636
37636
|
|
|
37637
37637
|
|
|
37638
|
-
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":""}
|
|
37638
|
+
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)}
|
|
37639
37639
|
var staticRenderFns = []
|
|
37640
37640
|
|
|
37641
37641
|
|
|
37642
|
-
// CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=template&id=
|
|
37642
|
+
// CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=template&id=10ca09e8&scoped=true
|
|
37643
37643
|
|
|
37644
37644
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js
|
|
37645
37645
|
function _regeneratorDefine(e, r, n, t) {
|
|
@@ -41286,8 +41286,6 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
|
|
|
41286
41286
|
//
|
|
41287
41287
|
//
|
|
41288
41288
|
//
|
|
41289
|
-
//
|
|
41290
|
-
//
|
|
41291
41289
|
|
|
41292
41290
|
|
|
41293
41291
|
|
|
@@ -41348,8 +41346,9 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
|
|
|
41348
41346
|
return {
|
|
41349
41347
|
prompt: `${this.$t('serverConnecting')}...`,
|
|
41350
41348
|
callPrompt: this.$t('pleaseBePatient'),
|
|
41351
|
-
chatURL:
|
|
41352
|
-
|
|
41349
|
+
// chatURL:"https://kefu-gm-jc-dat.boc-samsunglife.cn",// dat环境切换
|
|
41350
|
+
chatURL: "https://kefu-gm-jc-uat.boc-samsunglife.cn",
|
|
41351
|
+
// uat环境切换
|
|
41353
41352
|
isCalling: false,
|
|
41354
41353
|
showHangup: false,
|
|
41355
41354
|
showAudioPlayer: true,
|
|
@@ -41894,17 +41893,6 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
|
|
|
41894
41893
|
}, _callee3);
|
|
41895
41894
|
}))();
|
|
41896
41895
|
},
|
|
41897
|
-
// 视频成功播放回调
|
|
41898
|
-
onRemoteVideoPlaying() {
|
|
41899
|
-
console.log('[iOS] Remote video is playing');
|
|
41900
|
-
},
|
|
41901
|
-
// 元数据加载完成回调
|
|
41902
|
-
onRemoteVideoLoaded() {
|
|
41903
|
-
console.log('[iOS] Remote video metadata loaded');
|
|
41904
|
-
if (this.$refs.remoteVideo) {
|
|
41905
|
-
this.$refs.remoteVideo.play().catch(() => {});
|
|
41906
|
-
}
|
|
41907
|
-
},
|
|
41908
41896
|
startSip(_ref3) {
|
|
41909
41897
|
var _this4 = this;
|
|
41910
41898
|
var debug = _ref3.debug,
|
|
@@ -42016,48 +42004,8 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
|
|
|
42016
42004
|
return _ref5.apply(this, arguments);
|
|
42017
42005
|
};
|
|
42018
42006
|
}());
|
|
42019
|
-
|
|
42020
|
-
// this.sipMix.on('remoteStream', (stream, info) => {
|
|
42021
|
-
// console.info('remoteStream', stream, info)
|
|
42022
|
-
// this._resetCmpWHLRTB()
|
|
42023
|
-
|
|
42024
|
-
// Object.assign(this.localVideo, {
|
|
42025
|
-
// w: parseInt(this.clientWidth / 3),
|
|
42026
|
-
// h: parseInt(this.clientHeight / 3),
|
|
42027
|
-
// x: 0,
|
|
42028
|
-
// y: 80,
|
|
42029
|
-
// z: 1100,
|
|
42030
|
-
// draggable: true
|
|
42031
|
-
// })
|
|
42032
|
-
// this.$nextTick(() => {
|
|
42033
|
-
// this.$refs.localVideoWrapper.moveVertically(80)
|
|
42034
|
-
// })
|
|
42035
|
-
|
|
42036
|
-
// setTimeout(async () => {
|
|
42037
|
-
// Object.assign(this.remoteVideo, {
|
|
42038
|
-
// show: true,
|
|
42039
|
-
// w: this.clientWidth,
|
|
42040
|
-
// h: this.clientHeight,
|
|
42041
|
-
// x: 0,
|
|
42042
|
-
// y: 0,
|
|
42043
|
-
// z: 1000,
|
|
42044
|
-
// draggable: false
|
|
42045
|
-
// })
|
|
42046
|
-
|
|
42047
|
-
// await this.$nextTick()
|
|
42048
|
-
// if (this.autoHideLocalVideo) {
|
|
42049
|
-
// this.localVideo.show = false
|
|
42050
|
-
// }
|
|
42051
|
-
// this.$refs.remoteVideo.srcObject = stream
|
|
42052
|
-
// }, 500)
|
|
42053
|
-
|
|
42054
|
-
// })
|
|
42055
|
-
|
|
42056
42007
|
this.sipMix.on('remoteStream', (stream, info) => {
|
|
42057
42008
|
console.info('remoteStream', stream, info);
|
|
42058
|
-
var video = this.$refs.remoteVideo;
|
|
42059
|
-
if (!video) return;
|
|
42060
|
-
video.srcObject = stream;
|
|
42061
42009
|
this._resetCmpWHLRTB();
|
|
42062
42010
|
Object.assign(this.localVideo, {
|
|
42063
42011
|
w: parseInt(this.clientWidth / 3),
|
|
@@ -42068,35 +42016,8 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
|
|
|
42068
42016
|
draggable: true
|
|
42069
42017
|
});
|
|
42070
42018
|
this.$nextTick(() => {
|
|
42071
|
-
|
|
42072
|
-
var forcePlay = () => {
|
|
42073
|
-
if (video.paused || video.ended) {
|
|
42074
|
-
video.play().catch(err => {
|
|
42075
|
-
console.warn('Force play failed:', err.name);
|
|
42076
|
-
});
|
|
42077
|
-
}
|
|
42078
|
-
};
|
|
42079
|
-
|
|
42080
|
-
// 更紧凑的调用顺序,减少延迟
|
|
42081
|
-
forcePlay(); // 立即
|
|
42082
|
-
setTimeout(forcePlay, 30); // 30ms
|
|
42083
|
-
setTimeout(forcePlay, 100); // 100ms
|
|
42084
|
-
|
|
42085
|
-
// 只监听一次,避免重复触发
|
|
42086
|
-
video.addEventListener('pause', forcePlay, {
|
|
42087
|
-
once: true
|
|
42088
|
-
});
|
|
42089
|
-
|
|
42090
|
-
// 元数据加载完立即播放
|
|
42091
|
-
video.addEventListener('loadedmetadata', () => {
|
|
42092
|
-
console.log('[iOS] metadata loaded → force play');
|
|
42093
|
-
forcePlay();
|
|
42094
|
-
}, {
|
|
42095
|
-
once: true
|
|
42096
|
-
});
|
|
42019
|
+
this.$refs.localVideoWrapper.moveVertically(80);
|
|
42097
42020
|
});
|
|
42098
|
-
|
|
42099
|
-
// 原有后续代码保持不变
|
|
42100
42021
|
setTimeout(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5() {
|
|
42101
42022
|
return _regenerator().w(function (_context5) {
|
|
42102
42023
|
while (1) switch (_context5.n) {
|
|
@@ -42116,11 +42037,12 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
|
|
|
42116
42037
|
if (_this4.autoHideLocalVideo) {
|
|
42117
42038
|
_this4.localVideo.show = false;
|
|
42118
42039
|
}
|
|
42040
|
+
_this4.$refs.remoteVideo.srcObject = stream;
|
|
42119
42041
|
case 2:
|
|
42120
42042
|
return _context5.a(2);
|
|
42121
42043
|
}
|
|
42122
42044
|
}, _callee5);
|
|
42123
|
-
})),
|
|
42045
|
+
})), 500);
|
|
42124
42046
|
});
|
|
42125
42047
|
this.sipMix.on('remoteRing', () => {
|
|
42126
42048
|
this.callPrompt = this.$t('remoteRinging');
|
|
@@ -42265,11 +42187,11 @@ var js_native_n22_default = /*#__PURE__*/__webpack_require__.n(js_native_n22);
|
|
|
42265
42187
|
});
|
|
42266
42188
|
// CONCATENATED MODULE: ./src/components/MobilePhone.vue?vue&type=script&lang=js
|
|
42267
42189
|
/* harmony default export */ var components_MobilePhonevue_type_script_lang_js = (MobilePhonevue_type_script_lang_js);
|
|
42268
|
-
// EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=0&id=
|
|
42269
|
-
var
|
|
42190
|
+
// EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=0&id=10ca09e8&prod&lang=scss
|
|
42191
|
+
var MobilePhonevue_type_style_index_0_id_10ca09e8_prod_lang_scss = __webpack_require__("07e5");
|
|
42270
42192
|
|
|
42271
|
-
// EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=1&id=
|
|
42272
|
-
var
|
|
42193
|
+
// EXTERNAL MODULE: ./src/components/MobilePhone.vue?vue&type=style&index=1&id=10ca09e8&prod&scoped=true&lang=scss
|
|
42194
|
+
var MobilePhonevue_type_style_index_1_id_10ca09e8_prod_scoped_true_lang_scss = __webpack_require__("0119");
|
|
42273
42195
|
|
|
42274
42196
|
// CONCATENATED MODULE: ./src/components/MobilePhone.vue
|
|
42275
42197
|
|
|
@@ -42287,7 +42209,7 @@ var MobilePhone_component = normalizeComponent(
|
|
|
42287
42209
|
staticRenderFns,
|
|
42288
42210
|
false,
|
|
42289
42211
|
null,
|
|
42290
|
-
"
|
|
42212
|
+
"10ca09e8",
|
|
42291
42213
|
null
|
|
42292
42214
|
|
|
42293
42215
|
)
|