react_hsbc_teller 2.0.1 → 2.0.2
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/lib/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/pages/video/video.jsx +4 -4
package/package.json
CHANGED
|
@@ -295,7 +295,7 @@ class Video extends Component {
|
|
|
295
295
|
saveLog = (val) => {
|
|
296
296
|
axios({
|
|
297
297
|
method: 'get',
|
|
298
|
-
baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=2.0.
|
|
298
|
+
baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=2.0.2&logTime=' + Date.now() + '&mtoken=' + encodeURIComponent(this.state.rtoken) + '&roomId=' + encodeURIComponent(this.state.channelId) + '&sessionId=' + encodeURIComponent(this.state.sessionId) + '&appointmentID=' + this.props.businessNumber,
|
|
299
299
|
|
|
300
300
|
}).then(res => {
|
|
301
301
|
|
|
@@ -327,7 +327,7 @@ class Video extends Component {
|
|
|
327
327
|
|
|
328
328
|
this.state.cameraList.forEach((el, i) => {
|
|
329
329
|
let publish_config = {}
|
|
330
|
-
publish_config.media_type = 1
|
|
330
|
+
publish_config.media_type = i==0? 1:3
|
|
331
331
|
publish_config.publish_device = 1
|
|
332
332
|
publish_config.videoSource = el.actionid
|
|
333
333
|
publish_config.audioSource = this.state.microphoneValue
|
|
@@ -1703,7 +1703,7 @@ class Video extends Component {
|
|
|
1703
1703
|
|
|
1704
1704
|
this.state.cameraList.forEach((el, i) => {
|
|
1705
1705
|
let publish_config = {}
|
|
1706
|
-
publish_config.media_type = 1
|
|
1706
|
+
publish_config.media_type = i==0? 1:3
|
|
1707
1707
|
publish_config.publish_device = 1
|
|
1708
1708
|
publish_config.videoSource = el.actionid
|
|
1709
1709
|
publish_config.audioSource = this.state.microphoneValue
|
|
@@ -2996,7 +2996,7 @@ class Video extends Component {
|
|
|
2996
2996
|
}
|
|
2997
2997
|
}
|
|
2998
2998
|
componentWillMount() {
|
|
2999
|
-
console.log('hsbc_teller_sdk', '2.0.
|
|
2999
|
+
console.log('hsbc_teller_sdk', '2.0.2')
|
|
3000
3000
|
let arr = []
|
|
3001
3001
|
for(let i=1;i<=12;i++){
|
|
3002
3002
|
arr.push({
|