react_hsbc_teller 2.0.83 → 2.0.84

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react_hsbc_teller",
3
- "version": "2.0.83",
3
+ "version": "2.0.84",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -66,7 +66,7 @@ import axios from 'axios';
66
66
  import CryptoJS from "crypto-js";
67
67
 
68
68
 
69
- const SDK_VERISON = '2.0.83'
69
+ const SDK_VERISON = '2.0.84'
70
70
  const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
71
71
  const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
72
72
  const { Option } = Select;
@@ -1250,9 +1250,9 @@ class Video extends Component {
1250
1250
  // 人脸识别
1251
1251
  facialRecognition = () => {
1252
1252
  if (this.isFileSuccuse()) {
1253
- this.state.faceCustomerType = 1
1254
1253
  this.setState({
1255
- titleModal: '身份验证'
1254
+ titleModal: '身份验证',
1255
+ faceCustomerType: 1
1256
1256
  })
1257
1257
  this.selectCustomer('facial')
1258
1258
  }
@@ -1365,9 +1365,9 @@ class Video extends Component {
1365
1365
  }
1366
1366
  ocrClick = () => {
1367
1367
  if (this.isFileSuccuse()) {
1368
- this.state.faceCustomerType = 2
1369
1368
  this.setState({
1370
- titleModal: '拍摄证件照片'
1369
+ titleModal: '拍摄证件照片',
1370
+ faceCustomerType: 2
1371
1371
  })
1372
1372
  this.selectCustomer('ocr')
1373
1373
  }
@@ -1430,7 +1430,9 @@ class Video extends Component {
1430
1430
  }
1431
1431
  }
1432
1432
  console.log(list)
1433
- this.state.listVideoPicture = list
1433
+ this.setState({
1434
+ listVideoPicture: list
1435
+ })
1434
1436
  // const width = 640;
1435
1437
  // const height = 360 * this.state.listVideoPicture.length;
1436
1438
  if (val == 'add') {
@@ -1782,8 +1784,10 @@ class Video extends Component {
1782
1784
  }
1783
1785
  handleReceiveMsg = (msg) => {
1784
1786
  console.log(JSON.parse(msg));
1787
+ this.saveLog('IM,' + msg)
1785
1788
  const Mival = JSON.parse(msg);
1786
1789
  if (Mival.typeId == 1210) {
1790
+ this.saveLog('IM TYPE ' + Mival.typeId)
1787
1791
  // 进行初始化操作
1788
1792
  if (Mival.sessionId == this.state.sessionId) {
1789
1793
  if (Mival.type == 1) {
@@ -1807,6 +1811,7 @@ class Video extends Component {
1807
1811
  // }
1808
1812
  // }
1809
1813
  else if (Mival.typeId == 3002) { // app进入后台
1814
+ this.saveLog('IM TYPE ' + Mival.typeId)
1810
1815
  if (Mival.data.sessionId == this.state.sessionId) {
1811
1816
  for(let i=1;i<=12;i++){
1812
1817
  if(Mival.data.userId == (document.getElementById("feedId"+i).innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId"+i).innerText).uid : '')) {
@@ -1822,6 +1827,7 @@ class Video extends Component {
1822
1827
  }
1823
1828
  }
1824
1829
  else if (Mival.typeId == 3003) { // app进入前台
1830
+ this.saveLog('IM TYPE ' + Mival.typeId)
1825
1831
  if (Mival.data.sessionId == this.state.sessionId) {
1826
1832
  for(let i=1;i<=12;i++){
1827
1833
  if(Mival.data.userId == (document.getElementById("feedId"+i).innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId"+i).innerText).uid : '')) {
@@ -1836,6 +1842,7 @@ class Video extends Component {
1836
1842
  }
1837
1843
  }
1838
1844
  else if (Mival.typeId == 5001) { // 客户端离框
1845
+ this.saveLog('IM TYPE ' + Mival.typeId)
1839
1846
  let TITLE = '客户'
1840
1847
  if (Mival.data && Mival.data.userId) {
1841
1848
  if (Mival.data.userId.includes(IPAD_SUFFIX)) {
@@ -1848,6 +1855,7 @@ class Video extends Component {
1848
1855
  // this.saveVideoPoint('ffd', '客户人脸离框');
1849
1856
  }
1850
1857
  else if (Mival.typeId == 5002) { // 客户端背光
1858
+ this.saveLog('IM TYPE ' + Mival.typeId)
1851
1859
  let TITLE = '客户'
1852
1860
  if (Mival.data && Mival.data.userId) {
1853
1861
  if (Mival.data.userId.includes(IPAD_SUFFIX)) {
@@ -1860,6 +1868,7 @@ class Video extends Component {
1860
1868
  // this.saveVideoPoint('env', '客户端背光、曝光过度');
1861
1869
  }
1862
1870
  else if (Mival.typeId == 5003) { // 客户端弱网
1871
+ this.saveLog('IM TYPE ' + Mival.typeId)
1863
1872
  let TITLE = '客户'
1864
1873
  if (Mival.data && Mival.data.userId) {
1865
1874
  if (Mival.data.userId.includes(IPAD_SUFFIX)) {
@@ -1872,6 +1881,7 @@ class Video extends Component {
1872
1881
  // this.saveVideoPoint('wnd', '客户端弱网');
1873
1882
  }
1874
1883
  else if (Mival.typeId == 5004) { // ipad低电量
1884
+ this.saveLog('IM TYPE ' + Mival.typeId)
1875
1885
  this.messageClick('iPad电量过低', 'error', Mival.data.userId)
1876
1886
 
1877
1887
  this.setState({
@@ -1890,6 +1900,7 @@ class Video extends Component {
1890
1900
  setTimeout(this.ipadLowPowerPlay, 0);
1891
1901
  }
1892
1902
  else if (Mival.typeId == 5005) { // 客户端人脸数量变化
1903
+ this.saveLog('IM TYPE ' + Mival.typeId)
1893
1904
  let TITLE = '客户'
1894
1905
  if (Mival.data && Mival.data.userId) {
1895
1906
  if (Mival.data.userId.includes(IPAD_SUFFIX)) {
@@ -1901,15 +1912,18 @@ class Video extends Component {
1901
1912
  this.messageClick(TITLE+'人脸数量发生变化', 'error', Mival.data.userId)
1902
1913
  }
1903
1914
  else if (Mival.typeId == 5006) { // 内网pib检测到敏感词
1915
+ this.saveLog('IM TYPE ' + Mival.typeId)
1904
1916
  this.messageClick(Mival.content, 'error', Mival.data.userId)
1905
1917
  }
1906
1918
  else if (Mival.typeId == 5007) { // ipad充电状态
1919
+ this.saveLog('IM TYPE ' + Mival.typeId)
1907
1920
  if (Mival.type == '1') { // 1充电 2不在充电
1908
1921
  this.setState({ ipadLowPowerErrorModalVisible: false})
1909
1922
  clearTimeout(this.ipadLowPowerPlayTimer)
1910
1923
  }
1911
1924
  }
1912
1925
  else if (Mival.typeId == 1220) {
1926
+ this.saveLog('IM TYPE ' + Mival.typeId)
1913
1927
  // 一炒多的图片 1214
1914
1928
  if (Mival.sessionId == this.state.sessionId) {
1915
1929
  this.saveLog('imgCallback success, typeId=1220, type=' + Mival.data.type)
@@ -1922,9 +1936,11 @@ class Video extends Component {
1922
1936
  ) // 文字抄录和风险抄录,3--风险,,2--文字
1923
1937
  }
1924
1938
  } else if (Mival.typeId == 1321) {
1939
+ this.saveLog('IM TYPE ' + Mival.typeId)
1925
1940
  this.getBase64Image(Mival.fileName)
1926
1941
  this.saveLog('signCallback success, typeId=1321, fileName=' + Mival.fileName)
1927
1942
  } else if (Mival.typeId == 1216) {
1943
+ this.saveLog('IM TYPE ' + Mival.typeId)
1928
1944
  // 签字回调 1213
1929
1945
  if (Mival.sessionId == this.state.sessionId) {
1930
1946
  this.tabTitlesClick('customerScreen', 'delect')
@@ -1934,6 +1950,7 @@ class Video extends Component {
1934
1950
  })
1935
1951
  }
1936
1952
  } else if (Mival.typeId == 1218) {
1953
+ this.saveLog('IM TYPE ' + Mival.typeId)
1937
1954
  if (Mival.sessionId == this.state.sessionId) {
1938
1955
  // 1-开启,2-关闭
1939
1956
  if (Mival.type == 1) {
@@ -1976,6 +1993,7 @@ class Video extends Component {
1976
1993
  // this.state.branchName = Mival.salesBranchName;
1977
1994
  // }
1978
1995
  } else if (Mival.typeId == 3100) {
1996
+ this.saveLog('IM TYPE ' + Mival.typeId)
1979
1997
  if(Mival.data.sessionId == this.state.sessionId) {
1980
1998
  muteJson.set(Mival.data.userId, JSON.stringify(Mival))
1981
1999
  for(let i=1;i<=12;i++){
@@ -2000,6 +2018,7 @@ class Video extends Component {
2000
2018
  }
2001
2019
  }
2002
2020
  } else if (Mival.typeId == 1214) {
2021
+ this.saveLog('IM TYPE ' + Mival.typeId)
2003
2022
  if (Mival.sessionId == this.state.sessionId) {
2004
2023
  this.setState({
2005
2024
  moduleData: Mival,
@@ -2009,6 +2028,7 @@ class Video extends Component {
2009
2028
  })
2010
2029
  }
2011
2030
  } else if (Mival.typeId == 1213) {
2031
+ this.saveLog('IM TYPE ' + Mival.typeId)
2012
2032
  if (Mival.sessionId == this.state.sessionId) {
2013
2033
  this.setState({
2014
2034
  moduleData: Mival,
@@ -2018,6 +2038,7 @@ class Video extends Component {
2018
2038
  })
2019
2039
  }
2020
2040
  } else if (Mival.typeId == 121305) {
2041
+ this.saveLog('IM TYPE ' + Mival.typeId)
2021
2042
  if (Mival.sessionId == this.state.sessionId) {
2022
2043
  this.saveLog('signatureCallback fail, typeId=121305, ')
2023
2044
  this.props.signatureCallback({
@@ -2025,6 +2046,7 @@ class Video extends Component {
2025
2046
  })
2026
2047
  }
2027
2048
  } else if (Mival.typeId == 121405) {
2049
+ this.saveLog('IM TYPE ' + Mival.typeId)
2028
2050
  if (Mival.sessionId == this.state.sessionId) {
2029
2051
  console.log('imgCallback')
2030
2052
  this.saveLog('imgCallback fail, typeId=121405, ')
@@ -2035,11 +2057,13 @@ class Video extends Component {
2035
2057
  })
2036
2058
  }
2037
2059
  } else if (Mival.typeId == 4001) {
2060
+ this.saveLog('IM TYPE ' + Mival.typeId)
2038
2061
  // 手机端停止投屏
2039
2062
  this.tabTitlesClick('customerScreen', 'delect')
2040
2063
  this.saveLog('app stop sharing screen, typeId=4001, ')
2041
2064
 
2042
2065
  } else if (Mival.typeId == 4004) {
2066
+ this.saveLog('IM TYPE ' + Mival.typeId)
2043
2067
  // 线下demo静音处理
2044
2068
  if (Mival.data.sessionId == this.state.sessionId && this.isFileSuccuse()) {
2045
2069
  if (!this.state.voiceStatue) {
@@ -2073,6 +2097,7 @@ class Video extends Component {
2073
2097
  }, 1000);
2074
2098
  }
2075
2099
  } else if (Mival.typeId == 1401) {
2100
+ this.saveLog('IM TYPE ' + Mival.typeId)
2076
2101
  // 用户修改名字
2077
2102
  if (Mival.sessionId == this.state.sessionId) {
2078
2103
  for(let i=1;i<=12;i++){
@@ -2088,6 +2113,7 @@ class Video extends Component {
2088
2113
  }
2089
2114
  }
2090
2115
  } else if (Mival.typeId == 10020) {
2116
+ this.saveLog('IM TYPE ' + Mival.typeId)
2091
2117
  // 录制中断(模拟测试)
2092
2118
  const recordId = Mival.recordId;
2093
2119
 
@@ -2132,12 +2158,14 @@ class Video extends Component {
2132
2158
  // }
2133
2159
 
2134
2160
  } else if (Mival.typeId == 33001 && this.state.sessionId == Mival.data.sessionId) {
2161
+ this.saveLog('IM TYPE ' + Mival.typeId)
2135
2162
  if (Mival.type == 1) {
2136
2163
  this.saveAuthorize(Mival.data.userId)
2137
2164
  this.customerFaceClick(this.state.customerList[this.state.customerSelect - 1])
2138
2165
  }
2139
2166
  console.log('33001 done')
2140
2167
  } else if (Mival.typeId == 2210 && this.state.sessionId == Mival.sessionId) {
2168
+ this.saveLog('IM TYPE ' + Mival.typeId)
2141
2169
  if (Mival.status == 1) {
2142
2170
  // 开启了业务录制
2143
2171
  console.log('业务录制开启')
@@ -2189,10 +2217,13 @@ class Video extends Component {
2189
2217
  if(this.state.isAsrStart) this.stopASR();
2190
2218
  }
2191
2219
  } else if (Mival.typeId == 2002 && this.state.sessionId == Mival.sessionId) {
2220
+ this.saveLog('IM TYPE ' + Mival.typeId)
2192
2221
  // 会议到时间
2193
2222
  console.log('会议超过时间限制')
2223
+ this.saveVideoPoint('leaveTheRoom', 'RM退出-会议超过时间限制')
2194
2224
  this.endSessionValue();
2195
2225
  } else if (Mival.typeId == 990002 && this.state.sessionId == Mival.sessionId) {
2226
+ this.saveLog('IM TYPE ' + Mival.typeId)
2196
2227
  this.props.closePdfCallback({
2197
2228
  step: Mival.data.step
2198
2229
  })
@@ -2416,7 +2447,7 @@ class Video extends Component {
2416
2447
  }
2417
2448
  }
2418
2449
  console.log(objList, objList1, objList2)
2419
- this.saveLog('devicesInfo:' + JSON.stringify(obj1))
2450
+ this.saveLog('devicesInfo:' + JSON.stringify(objList1))
2420
2451
  const cameraList = objList.filter(el => !el.actionname.includes(RECORD_DEVICE_NAME))
2421
2452
  const recorderDevice = objList.find(el => el.actionname.includes(RECORD_DEVICE_NAME))
2422
2453
  this.setState({
@@ -2438,9 +2469,15 @@ class Video extends Component {
2438
2469
  // 麦克风设置默认
2439
2470
  objList1.forEach((item, index) => {
2440
2471
  console.log('audioinputNameList', this.props.audioinputNameList)
2441
- if(this.props.audioinputNameList.indexOf(item.actionname) != -1) {
2442
- microId = index
2443
- }
2472
+ // if(this.props.audioinputNameList.indexOf(item.actionname) != -1) {
2473
+ // microId = index
2474
+ // }
2475
+ this.props.audioinputNameList.forEach((item1, index1) => {
2476
+ if(item.actionname.indexOf(item1) || item1.actionname.indexOf(item)){
2477
+ microId = index
2478
+ }
2479
+
2480
+ })
2444
2481
  console.log(microId)
2445
2482
  // if (item.actionname.indexOf('Microphone Array (Realtek High Definition Audio(SST))') != -1) {
2446
2483
  // microId = index
@@ -2687,7 +2724,7 @@ class Video extends Component {
2687
2724
 
2688
2725
  this.roomCallBack(1, '', 0)
2689
2726
  this.saveLog('mrtc join room success')
2690
-
2727
+ this.saveVideoPoint('joinRoom', 'RM加入房间成功')
2691
2728
  this.state.imStatus = true
2692
2729
  this.saveLog('Join im room')
2693
2730
  console.log('加入IM房间')
@@ -2698,6 +2735,7 @@ class Video extends Component {
2698
2735
  // 加入房间失败
2699
2736
  this.test_controller.OnJoinRoomFailed = (err_code, err_msg) => {
2700
2737
  this.saveLog('mrtc join room failed,' + err_code)
2738
+ this.saveVideoPoint('joinRoom', 'RM加入房间失败')
2701
2739
  console.log('加入房间失败', err_code, err_msg)
2702
2740
  // this.setState({
2703
2741
  // sessionType: false,
@@ -2879,6 +2917,7 @@ class Video extends Component {
2879
2917
  this.setSharedScreenState(true)
2880
2918
  this.setSharedScreenTimer(true)
2881
2919
  this.saveLog('Share success')
2920
+ this.saveVideoPoint('screenCasting', 'RM发布媒体流成功-投屏')
2882
2921
  this.sendMessage({
2883
2922
  'typeId': 2030,
2884
2923
  'sessionId': this.state.sessionId,
@@ -2892,6 +2931,7 @@ class Video extends Component {
2892
2931
  this.videoInfo = this.generateMediaInfo(document.getElementById("video20").name);
2893
2932
  }
2894
2933
  if (sid == document.getElementById('publish_streamId1').name) {
2934
+ this.saveVideoPoint('releaseStream', 'RM发布媒体流成功-摄像头')
2895
2935
  this.state.publishSid = document.getElementById('publish_streamId1').name
2896
2936
  this.setState({
2897
2937
 
@@ -2950,6 +2990,7 @@ class Video extends Component {
2950
2990
  transcribeErrorModalVisible: true
2951
2991
  })
2952
2992
  this.roomCallBack(2, '发布失败', '4-' + err_code)
2993
+ this.saveVideoPoint('releaseStream', 'RM发布媒体流失败-摄像头')
2953
2994
  } else {
2954
2995
  this.test_controller.UnPublish(sid)
2955
2996
  let message = '投屏失败请重新投屏'
@@ -2967,6 +3008,7 @@ class Video extends Component {
2967
3008
  this.setSharedScreenState(false)
2968
3009
  this.setSharedScreenTimer(false)
2969
3010
  this.saveLog('Share fail, code=' + err_code)
3011
+ this.saveVideoPoint('screenCasting', 'RM发布媒体流失败-投屏')
2970
3012
  }
2971
3013
 
2972
3014
  };
@@ -3478,31 +3520,37 @@ class Video extends Component {
3478
3520
  this.state.recordId = record_id
3479
3521
  this.videoRecordCallback('1', true)
3480
3522
  this.saveLog('mrtc OnStartRemoteRecordSucc')
3523
+ this.saveVideoPoint('recordingStatus', '开始录制成功_全局')
3481
3524
  } else if (String(record_third_id).includes('_ipad')){
3482
3525
  this.state.ipadRecordId = record_id
3483
3526
  const busId = Number(record_third_id.split('_')[0])
3484
3527
  this.ipadRecordCallback('1', true, busId)
3485
3528
  this.saveLog('mrtc OnStartIpadRecordSucc')
3529
+ this.saveVideoPoint('recordingStatus', '开始录制成功_ipad')
3486
3530
  } else if (String(record_third_id).includes('_presale')){
3487
3531
  // full录制的音频
3488
3532
  this.state.presaleRecordId = record_id
3489
3533
  this.audioPresaleRecordCallback('1', true)
3490
3534
  this.saveLog('mrtc OnStartPresaleRecordSucc')
3535
+ this.saveVideoPoint('recordingStatus', '开始录制成功_presale')
3491
3536
  } else if (String(record_third_id).includes('_sale')){
3492
3537
  // 业务录制的音频
3493
3538
  this.state.salePresaleRecordId = record_id
3494
3539
  this.audioSalePresaleRecordCallback('1', true)
3495
3540
  this.saveLog('mrtc OnStartSalePresaleRecordSucc')
3541
+ this.saveVideoPoint('recordingStatus', '开始录制成功_sale')
3496
3542
  } else if (String(record_third_id).includes('_supplesale')){
3497
3543
  // 补录业务录制的音频
3498
3544
  this.state.supplesalePresaleRecordId = record_id
3499
3545
  this.audiosuppleSalePresaleRecordCallback('1', true)
3500
3546
  this.saveLog('mrtc OnStartSuppleSalePresaleRecordSucc')
3547
+ this.saveVideoPoint('recordingStatus', '开始录制成功_supplesale')
3501
3548
  } else {
3502
3549
  // 业务录制
3503
3550
  this.state.businessRecordId = record_id
3504
3551
  this.businessRecordCallback('1', true, record_third_id)
3505
3552
  this.saveLog('mrtc OnStartRemoteBusinessRecordSucc, businessId=' + record_third_id)
3553
+ this.saveVideoPoint('recordingStatus', '开始录制成功_业务')
3506
3554
  }
3507
3555
  // 判断是否是开启的音频录制 调用后台接口多isAudio --0否1是
3508
3556
  if (this.state.isRecordingeErrorModalVisible) {
@@ -3522,28 +3570,34 @@ class Video extends Component {
3522
3570
  if (!record_third_id) {
3523
3571
  this.videoRecordCallback('1', false)
3524
3572
  this.saveLog('mrtc OnStartRemoteRecordFailed, code='+err_code)
3573
+ this.saveVideoPoint('recordingStatus', '开始录制失败_全局')
3525
3574
  } else if (String(record_third_id).includes('_ipad')){
3526
3575
  const busId = Number(record_third_id.split('_')[0])
3527
3576
  this.ipadRecordCallback('1', false, busId)
3528
3577
  this.saveLog('mrtc OnStartIpadRecordFailed, code='+err_code)
3578
+ this.saveVideoPoint('recordingStatus', '开始录制失败_ipad')
3529
3579
  } else if (String(record_third_id).includes('_presale')){
3530
3580
  // full录制的音频
3531
3581
  this.state.presaleRecordId = ''
3532
3582
  this.audioPresaleRecordCallback('1', false)
3533
3583
  this.saveLog('mrtc OnStartPresaleRecordFailed, code=' + err_code)
3584
+ this.saveVideoPoint('recordingStatus', '开始录制失败_presale')
3534
3585
  } else if (String(record_third_id).includes('_sale')){
3535
3586
  // 业务录制的音频
3536
3587
  this.state.salePresaleRecordId = ''
3537
3588
  this.audioSalePresaleRecordCallback('1', false)
3538
3589
  this.saveLog('mrtc OnStartSalePresaleRecordFailed, code=' + err_code)
3590
+ this.saveVideoPoint('recordingStatus', '开始录制失败_sale')
3539
3591
  } else if (String(record_third_id).includes('_supplesale')){
3540
3592
  // 补录业务录制的音频
3541
3593
  this.state.supplesalePresaleRecordId = ''
3542
3594
  this.audiosuppleSalePresaleRecordCallback('1', false)
3543
3595
  this.saveLog('mrtc OnStartSuppleSalePresaleRecordFailed, code=' + err_code)
3596
+ this.saveVideoPoint('recordingStatus', '开始录制失败_supplesale')
3544
3597
  } else {
3545
3598
  this.businessRecordCallback('1', false, record_third_id)
3546
3599
  this.saveLog('mrtc OnStartRemoteBusinessRecordFailed, code='+err_code + ',businessId=' + record_third_id)
3600
+ this.saveVideoPoint('recordingStatus', '开始录制失败_业务录制')
3547
3601
  }
3548
3602
  this.roomCallBack(2, '开始服务端录制失败', 'record-' + err_code)
3549
3603
  };
@@ -3558,30 +3612,36 @@ class Video extends Component {
3558
3612
  if (!record_third_id) {
3559
3613
  this.videoRecordCallback('2', true)
3560
3614
  this.saveLog('mrtc OnStopRemoteRecordSucc, recordId='+recordId)
3615
+ this.saveVideoPoint('recordingStatus', '结束录制成功_业务')
3561
3616
  this.state.recordId = '';
3562
3617
  } else if (String(record_third_id).includes('_ipad')){
3563
3618
  const busId = Number(record_third_id.split('_')[0])
3564
3619
  this.ipadRecordCallback('2', true, busId)
3565
3620
  this.saveLog('mrtc OnStopIpadRecordSucc, recordId='+recordId)
3621
+ this.saveVideoPoint('recordingStatus', '结束录制成功_ipad')
3566
3622
  this.state.ipadRecordId = '';
3567
3623
  } else if (String(record_third_id).includes('_presale')){
3568
3624
  // full录制的音频
3569
3625
  this.state.presaleRecordId = ''
3570
3626
  this.audioPresaleRecordCallback('2', true)
3571
3627
  this.saveLog('mrtc OnStopPresaleRecordSucc, recordId='+recordId)
3628
+ this.saveVideoPoint('recordingStatus', '结束录制成功_presale')
3572
3629
  } else if (String(record_third_id).includes('_sale')){
3573
3630
  // 业务录制的音频
3574
3631
  this.state.salePresaleRecordId = ''
3575
3632
  this.audioSalePresaleRecordCallback('2', true)
3576
3633
  this.saveLog('mrtc OnStopSalePresaleSucc, recordId='+recordId)
3634
+ this.saveVideoPoint('recordingStatus', '结束录制成功_sale')
3577
3635
  } else if (String(record_third_id).includes('_supplesale')){
3578
3636
  // 补录业务录制的音频
3579
3637
  this.state.supplesalePresaleRecordId = ''
3580
3638
  this.audiosuppleSalePresaleRecordCallback('2', true)
3581
3639
  this.saveLog('mrtc OnStopSuppleSalePresaleRecordSucc, recordId='+recordId)
3640
+ this.saveVideoPoint('recordingStatus', '结束录制成功_supplesale')
3582
3641
  } else {
3583
3642
  this.businessRecordCallback('2', true, record_third_id)
3584
3643
  this.saveLog('mrtc OnStopRemoteBusinessRecordSucc, recordId='+recordId + ',businessId=' + record_third_id)
3644
+ this.saveVideoPoint('recordingStatus', '结束录制成功_业务')
3585
3645
  this.state.businessRecordId = '';
3586
3646
  }
3587
3647
  // 获取服务端录制结果
@@ -3601,27 +3661,33 @@ class Video extends Component {
3601
3661
  if (!record_third_id) {
3602
3662
  this.videoRecordCallback('2', false)
3603
3663
  this.saveLog('mrtc OnStopRemoteRecordFailed, err_code='+err_code)
3664
+ this.saveVideoPoint('recordingStatus', '结束录制失败_全局')
3604
3665
  } else if (String(record_third_id).includes('_ipad')){
3605
3666
  const busId = Number(record_third_id.split('_')[0])
3606
3667
  this.ipadRecordCallback('2', false, busId)
3607
3668
  this.saveLog('mrtc OnStopIpadRecordFailed, err_code='+err_code)
3669
+ this.saveVideoPoint('recordingStatus', '结束录制失败_ipad')
3608
3670
  } else if (String(record_third_id).includes('_presale')){
3609
3671
  // full录制的音频
3610
3672
  this.state.presaleRecordId = ''
3611
3673
  this.audioPresaleRecordCallback('2', false)
3612
3674
  this.saveLog('mrtc OnStopPresaleRecordFailed, err_code='+err_code)
3675
+ this.saveVideoPoint('recordingStatus', '结束录制失败_presale')
3613
3676
  } else if (String(record_third_id).includes('_sale')){
3614
3677
  // 业务录制的音频
3615
3678
  this.state.salePresaleRecordId = ''
3616
3679
  this.audioSalePresaleRecordCallback('2', false)
3617
3680
  this.saveLog('mrtc OnStopSalePresaleFailed, err_code='+err_code)
3681
+ this.saveVideoPoint('recordingStatus', '结束录制失败_sale')
3618
3682
  } else if (String(record_third_id).includes('_supplesale')){
3619
3683
  // 补录业务录制的音频
3620
3684
  this.state.supplesalePresaleRecordId = ''
3621
3685
  this.audiosuppleSalePresaleRecordCallback('2', false)
3622
3686
  this.saveLog('mrtc OnStopSuppleSalePresaleRecordFailed, err_code='+err_code)
3687
+ this.saveVideoPoint('recordingStatus', '结束录制失败_supplesale')
3623
3688
  } else {
3624
3689
  this.businessRecordCallback('2', false, record_third_id)
3690
+ this.saveVideoPoint('recordingStatus', '结束录制失败_业务录制')
3625
3691
  this.saveLog('mrtc OnStopRemoteBusinessRecordFailed, err_code='+err_code+',businessId=' + record_third_id)
3626
3692
  }
3627
3693
 
@@ -5190,6 +5256,7 @@ class Video extends Component {
5190
5256
  })
5191
5257
  };
5192
5258
  handleOkEnd = () => {
5259
+ this.saveVideoPoint('leaveTheRoom', 'RM退出-结束按钮')
5193
5260
  this.endSessionValue();
5194
5261
  this.setState({
5195
5262
  isModalVisibleEnd: false