react_hsbc_teller 1.9.22 → 1.9.23

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": "1.9.22",
3
+ "version": "1.9.23",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -296,7 +296,7 @@ class Video extends Component {
296
296
  saveLog = (val) => {
297
297
  axios({
298
298
  method: 'get',
299
- baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=1.9.22&logTime=' + Date.now() + '&mtoken=' + encodeURIComponent(this.state.rtoken) + '&roomId=' + encodeURIComponent(this.state.channelId) + '&sessionId=' + encodeURIComponent(this.state.sessionId) + '&appointmentID=' + this.props.businessNumber,
299
+ baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=1.9.23&logTime=' + Date.now() + '&mtoken=' + encodeURIComponent(this.state.rtoken) + '&roomId=' + encodeURIComponent(this.state.channelId) + '&sessionId=' + encodeURIComponent(this.state.sessionId) + '&appointmentID=' + this.props.businessNumber,
300
300
 
301
301
  }).then(res => {
302
302
 
@@ -1832,6 +1832,7 @@ class Video extends Component {
1832
1832
  canvas.width = this.state.widthVideo
1833
1833
  } else {
1834
1834
  await startMix(newStream1, 'none');
1835
+ isGraffiti = false
1835
1836
  }
1836
1837
 
1837
1838
  newStream1 = mixCaptureStream();
@@ -1850,6 +1851,9 @@ class Video extends Component {
1850
1851
  stream = null;
1851
1852
  }
1852
1853
  }
1854
+ if (stream.getAudioTracks()[0] && newStream1.addTrack) {
1855
+ newStream1.addTrack(stream.getAudioTracks()[0])
1856
+ }
1853
1857
  return newStream1
1854
1858
  }
1855
1859
  return stream
@@ -2947,7 +2951,7 @@ class Video extends Component {
2947
2951
  }
2948
2952
  }
2949
2953
  componentWillMount() {
2950
- console.log('hsbc_teller_sdk', '1.9.22')
2954
+ console.log('hsbc_teller_sdk', '1.9.23')
2951
2955
  let arr = []
2952
2956
  for(let i=1;i<=12;i++){
2953
2957
  arr.push({