react_hsbc_teller 1.9.30 → 1.9.32
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 new.zip +0 -0
- package/lib/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/pages/video/video.jsx +33 -29
- package/dist wpb.zip +0 -0
package/package.json
CHANGED
|
@@ -45,6 +45,8 @@ import SignMy from '../sign/signMy.jsx'
|
|
|
45
45
|
import Step from '../components/step/step.jsx'
|
|
46
46
|
import axios from 'axios';
|
|
47
47
|
import CryptoJS from "crypto-js";
|
|
48
|
+
|
|
49
|
+
const SDK_VERISON = '1.9.32'
|
|
48
50
|
const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
|
|
49
51
|
const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
|
|
50
52
|
const { Option } = Select;
|
|
@@ -296,7 +298,7 @@ class Video extends Component {
|
|
|
296
298
|
saveLog = (val) => {
|
|
297
299
|
axios({
|
|
298
300
|
method: 'get',
|
|
299
|
-
baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=
|
|
301
|
+
baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller='+ SDK_VERISON +'&logTime=' + Date.now() + '&mtoken=' + encodeURIComponent(this.state.rtoken) + '&roomId=' + encodeURIComponent(this.state.channelId) + '&sessionId=' + encodeURIComponent(this.state.sessionId) + '&appointmentID=' + this.props.businessNumber,
|
|
300
302
|
|
|
301
303
|
}).then(res => {
|
|
302
304
|
|
|
@@ -2049,6 +2051,7 @@ class Video extends Component {
|
|
|
2049
2051
|
console.log(config_param)
|
|
2050
2052
|
console.log('发起订阅')
|
|
2051
2053
|
this.test_controller.Subscribe(config_param)
|
|
2054
|
+
document.getElementById(config_param.subscribe_video_id).name = 'temp'
|
|
2052
2055
|
|
|
2053
2056
|
}
|
|
2054
2057
|
})
|
|
@@ -2927,34 +2930,35 @@ class Video extends Component {
|
|
|
2927
2930
|
|
|
2928
2931
|
}
|
|
2929
2932
|
addToScriptClick = () => {
|
|
2933
|
+
let params = `?v=${SDK_VERISON}`
|
|
2930
2934
|
const _dependScripts = [
|
|
2931
|
-
this.props.resourcePath + "/beauty/beauty_frame_pkg.js",
|
|
2932
|
-
this.props.resourcePath + "/adapter.js",
|
|
2933
|
-
this.props.resourcePath + "/getMediaInfo.js",
|
|
2934
|
-
this.props.resourcePath + "/EBML.js",
|
|
2935
|
-
this.props.resourcePath + "/mcu.js",
|
|
2936
|
-
this.props.resourcePath + "/meeting_desk_stream.js",
|
|
2937
|
-
this.props.resourcePath + "/meeting_html_stream.js",
|
|
2938
|
-
this.props.resourcePath + "/meeting_file_stream.js",
|
|
2939
|
-
this.props.resourcePath + "/meeting_im.js",
|
|
2940
|
-
this.props.resourcePath + "/meeting_vod.js",
|
|
2941
|
-
this.props.resourcePath + "/meeting_invite.js",
|
|
2942
|
-
this.props.resourcePath + "/client_record.js",
|
|
2943
|
-
this.props.resourcePath + "/remote_record.js",
|
|
2944
|
-
this.props.resourcePath + "/meeting_camera_stream.js",
|
|
2945
|
-
this.props.resourcePath + "/meeting_api.js",
|
|
2946
|
-
|
|
2947
|
-
this.props.resourcePath + "/eruda.js",
|
|
2948
|
-
this.props.resourcePath + "/iconfont.js",
|
|
2949
|
-
this.props.resourcePath + "/html2canvas.js",
|
|
2950
|
-
this.props.resourcePath + "/dom-to-image.js",
|
|
2951
|
-
|
|
2952
|
-
this.props.resourcePath + "/hs/hs_human_segmentation_wrapper.js",
|
|
2953
|
-
this.props.resourcePath + "/hs/hs_human_segmentation.js",
|
|
2954
|
-
this.props.resourcePath + "/hs/hs_human_segmentation.wasm",
|
|
2955
|
-
|
|
2956
|
-
this.props.resourcePath + "/mix/mix_frame.js",
|
|
2957
|
-
this.props.resourcePath + "/mix/pageBoard.js"
|
|
2935
|
+
this.props.resourcePath + "/beauty/beauty_frame_pkg.js" + params,
|
|
2936
|
+
this.props.resourcePath + "/adapter.js" + params,
|
|
2937
|
+
this.props.resourcePath + "/getMediaInfo.js" + params,
|
|
2938
|
+
this.props.resourcePath + "/EBML.js" + params,
|
|
2939
|
+
this.props.resourcePath + "/mcu.js" + params,
|
|
2940
|
+
this.props.resourcePath + "/meeting_desk_stream.js" + params,
|
|
2941
|
+
this.props.resourcePath + "/meeting_html_stream.js" + params,
|
|
2942
|
+
this.props.resourcePath + "/meeting_file_stream.js" + params,
|
|
2943
|
+
this.props.resourcePath + "/meeting_im.js" + params,
|
|
2944
|
+
this.props.resourcePath + "/meeting_vod.js" + params,
|
|
2945
|
+
this.props.resourcePath + "/meeting_invite.js" + params,
|
|
2946
|
+
this.props.resourcePath + "/client_record.js" + params,
|
|
2947
|
+
this.props.resourcePath + "/remote_record.js" + params,
|
|
2948
|
+
this.props.resourcePath + "/meeting_camera_stream.js" + params,
|
|
2949
|
+
this.props.resourcePath + "/meeting_api.js" + params,
|
|
2950
|
+
|
|
2951
|
+
this.props.resourcePath + "/eruda.js" + params,
|
|
2952
|
+
this.props.resourcePath + "/iconfont.js" + params,
|
|
2953
|
+
this.props.resourcePath + "/html2canvas.js" + params,
|
|
2954
|
+
this.props.resourcePath + "/dom-to-image.js" + params,
|
|
2955
|
+
|
|
2956
|
+
this.props.resourcePath + "/hs/hs_human_segmentation_wrapper.js" + params,
|
|
2957
|
+
this.props.resourcePath + "/hs/hs_human_segmentation.js" + params,
|
|
2958
|
+
this.props.resourcePath + "/hs/hs_human_segmentation.wasm" + params,
|
|
2959
|
+
|
|
2960
|
+
this.props.resourcePath + "/mix/mix_frame.js" + params,
|
|
2961
|
+
this.props.resourcePath + "/mix/pageBoard.js" + params,
|
|
2958
2962
|
|
|
2959
2963
|
]
|
|
2960
2964
|
const that = this
|
|
@@ -3000,7 +3004,7 @@ class Video extends Component {
|
|
|
3000
3004
|
}
|
|
3001
3005
|
}
|
|
3002
3006
|
componentWillMount() {
|
|
3003
|
-
console.log('hsbc_teller_sdk',
|
|
3007
|
+
console.log('hsbc_teller_sdk', SDK_VERISON)
|
|
3004
3008
|
let arr = []
|
|
3005
3009
|
for(let i=1;i<=12;i++){
|
|
3006
3010
|
arr.push({
|
package/dist wpb.zip
DELETED
|
Binary file
|