react_hsbc_teller 2.0.29 → 2.0.30

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.29",
3
+ "version": "2.0.30",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -58,7 +58,7 @@ import MultiModule from '../multiModule/multiModule'//签字、抄录
58
58
  import axios from 'axios';
59
59
  import CryptoJS from "crypto-js";
60
60
 
61
- const SDK_VERISON = '2.0.29'
61
+ const SDK_VERISON = '2.0.30'
62
62
  const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
63
63
  const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
64
64
  const { Option } = Select;
@@ -687,13 +687,13 @@ class Video extends Component {
687
687
  width: 213 * SCALE,
688
688
  height: 175 * SCALE
689
689
  },
690
- // {
691
- // tag: 'sharedScreen', // 一期暂时不需要录制
692
- // xPosition: 960,
693
- // yPosition: 180,
694
- // width: 320,
695
- // height: 180
696
- // }
690
+ {
691
+ tag: 'sharedScreen', // 一期暂时不需要录制
692
+ xPosition: 960 * SCALE,
693
+ yPosition: 180 * SCALE,
694
+ width: 320 * SCALE,
695
+ height: 180 * SCALE
696
+ }
697
697
  ]
698
698
  Array.isArray(res) ?
699
699
  res.map((item) => {
@@ -2770,6 +2770,10 @@ class Video extends Component {
2770
2770
  // 记录ipad摄像头流,需要单独开启录制
2771
2771
  if (feed.mediaSource == 'VIDEO_SOURCE_CAMERA' && feed.uid.includes(IPAD_SUFFIX)) {
2772
2772
  this.state.ipadTag = feed.tag;
2773
+ // 如果已经开启了业务录制且ipad未在录制,立即开启ipad录制(ipad后加入)
2774
+ if (this.state.businessId && !this.state.ipadRecordId) {
2775
+ this.enableIpadRecording(this.state.businessId)
2776
+ }
2773
2777
  }
2774
2778
  };
2775
2779
  // 推送“有新订阅”给与会者
@@ -4041,6 +4045,7 @@ class Video extends Component {
4041
4045
  // 业务录制
4042
4046
  this.state.businessRecordId = result.businessRecordId;
4043
4047
  this.state.businessId = result.businessId;
4048
+ this.state.ipadRecordId = result.businessIpadRecordId;
4044
4049
  third_id_Map.set(result.businessRecordId, result.businessId);
4045
4050
  console.log(third_id_Map)
4046
4051
  if (this.props.whetherDetectFace && this.props.recordMode != 2) this.startFaceDetection();