react_hsbc_teller 1.9.13 → 1.9.15
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/api/api.js +1 -1
- package/packages/pages/video/video.jsx +312 -1635
- package/packages/pages/video/video.less +4 -1
|
@@ -221,33 +221,18 @@ class Video extends Component {
|
|
|
221
221
|
isPictureInPicture: false,
|
|
222
222
|
clickedFacial: false,
|
|
223
223
|
clickedOcr: false,
|
|
224
|
-
videoOneName: '',
|
|
225
|
-
videoTwoName: '',
|
|
226
|
-
videoThreeName: '',
|
|
227
|
-
videoFourName: '',
|
|
228
|
-
videoFiveName: '',
|
|
229
|
-
videoSixName: '',
|
|
230
|
-
videoSevenName: '',
|
|
231
|
-
videoEightName: '',
|
|
232
|
-
videoTenName: '',
|
|
233
|
-
videoNineName: '',
|
|
234
|
-
videoTwelveName: '',
|
|
235
|
-
videoElevenName: '',
|
|
236
224
|
tabTitles: [
|
|
237
225
|
],
|
|
238
|
-
videoList: [
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
voiceVideoTen: false,
|
|
249
|
-
voiceVideoEleven: false,
|
|
250
|
-
voiceVideoTwelve: false,
|
|
226
|
+
videoList: [{
|
|
227
|
+
videoName: '',
|
|
228
|
+
mute: false,
|
|
229
|
+
noVideo: false,
|
|
230
|
+
isPIBIntranet: false,
|
|
231
|
+
idIndex: 1,
|
|
232
|
+
userSide: 1,
|
|
233
|
+
userId: '',
|
|
234
|
+
hasOcr: 0, // 0: 未做ocr 1:非身份证ocr 2:身份证ocr
|
|
235
|
+
}],
|
|
251
236
|
cameraList: [],
|
|
252
237
|
microphoneList: [],
|
|
253
238
|
speakerList: [],
|
|
@@ -259,59 +244,9 @@ class Video extends Component {
|
|
|
259
244
|
analyserData: new Map(),
|
|
260
245
|
analyserHeight: new Map(),
|
|
261
246
|
OnVolumeAnalyserMap: new Map(),
|
|
262
|
-
noVideoOne: false,
|
|
263
|
-
noVideoTwo: false,
|
|
264
|
-
noVideoThree: false,
|
|
265
|
-
noVideoFour: false,
|
|
266
|
-
noVideoFive: false,
|
|
267
|
-
noVideoSix: false,
|
|
268
|
-
noVideoSeven: false,
|
|
269
|
-
noVideoEight: false,
|
|
270
|
-
noVideoNine: false,
|
|
271
|
-
noVideoTen: false,
|
|
272
|
-
noVideoEleven: false,
|
|
273
|
-
noVideoTwelve: false,
|
|
274
247
|
manualClose: false,
|
|
275
248
|
defaultValue: '1',
|
|
276
249
|
customOcrSid: '',
|
|
277
|
-
isPIBIntranet: [
|
|
278
|
-
{
|
|
279
|
-
type: false
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
type: false
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
type: false
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
type: false
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
type: false
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
type: false
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
type: false
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
type: false
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
type: false
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
type: false
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
type: false
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
type: false
|
|
313
|
-
}
|
|
314
|
-
],
|
|
315
250
|
shareMaskState: false,
|
|
316
251
|
idCardName: '',
|
|
317
252
|
idCardNameFace: '',
|
|
@@ -357,7 +292,7 @@ class Video extends Component {
|
|
|
357
292
|
saveLog = (val) => {
|
|
358
293
|
axios({
|
|
359
294
|
method: 'get',
|
|
360
|
-
baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=1.9.
|
|
295
|
+
baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=1.9.15&logTime=' + Date.now() + '&mtoken=' + encodeURIComponent(this.state.rtoken) + '&roomId=' + encodeURIComponent(this.state.channelId) + '&sessionId=' + encodeURIComponent(this.state.sessionId) + '&appointmentID=' + this.props.businessNumber,
|
|
361
296
|
|
|
362
297
|
}).then(res => {
|
|
363
298
|
|
|
@@ -829,6 +764,13 @@ class Video extends Component {
|
|
|
829
764
|
console.log(this.state.faceCustomerUid, userInfo)
|
|
830
765
|
if (!userInfo || !userInfo.idCardNumber) {
|
|
831
766
|
console.log('没有身份证ocr信息')
|
|
767
|
+
this.setState({
|
|
768
|
+
loadingFace: false,
|
|
769
|
+
faceResuly: 'fail',
|
|
770
|
+
isFaceImage: '',
|
|
771
|
+
// faceFailReason: result.message
|
|
772
|
+
})
|
|
773
|
+
this.errorCodeClick('face', 201)
|
|
832
774
|
return
|
|
833
775
|
}
|
|
834
776
|
let result = await API.contrastFaceVerify({
|
|
@@ -917,112 +859,17 @@ class Video extends Component {
|
|
|
917
859
|
// 获取人员客户列表
|
|
918
860
|
selectCustomer = (val) => {
|
|
919
861
|
const list = []
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
console.log(this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId2").innerText))
|
|
932
|
-
// document.getElementById("feedId1").innerText
|
|
933
|
-
list.push({
|
|
934
|
-
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId2").innerText).feedId,
|
|
935
|
-
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId2").innerText).uid,
|
|
936
|
-
name: this.state.videoTwoName,
|
|
937
|
-
tourist: false
|
|
938
|
-
})
|
|
939
|
-
}
|
|
940
|
-
if (document.getElementById('video3').name && !this.state.isPIBIntranet[2].type) {
|
|
941
|
-
console.log(this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId3").innerText))
|
|
942
|
-
// document.getElementById("feedId1").innerText
|
|
943
|
-
list.push({
|
|
944
|
-
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId3").innerText).feedId,
|
|
945
|
-
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId3").innerText).uid,
|
|
946
|
-
name: this.state.videoThreeName,
|
|
947
|
-
tourist: false
|
|
948
|
-
})
|
|
949
|
-
}
|
|
950
|
-
if (document.getElementById('video4').name && !this.state.isPIBIntranet[3].type) {
|
|
951
|
-
console.log(this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId4").innerText))
|
|
952
|
-
// document.getElementById("feedId1").innerText
|
|
953
|
-
list.push({
|
|
954
|
-
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId4").innerText).feedId,
|
|
955
|
-
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId4").innerText).uid,
|
|
956
|
-
name: this.state.videoFourName,
|
|
957
|
-
tourist: false
|
|
958
|
-
})
|
|
959
|
-
}
|
|
960
|
-
if (document.getElementById('video5').name && !this.state.isPIBIntranet[4].type) {
|
|
961
|
-
console.log(this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId5").innerText))
|
|
962
|
-
// document.getElementById("feedId1").innerText
|
|
963
|
-
list.push({
|
|
964
|
-
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId5").innerText).feedId,
|
|
965
|
-
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId5").innerText).uid,
|
|
966
|
-
name: this.state.videoFiveName,
|
|
967
|
-
tourist: false
|
|
968
|
-
})
|
|
969
|
-
}
|
|
970
|
-
if (document.getElementById('video6').name && !this.state.isPIBIntranet[5].type) {
|
|
971
|
-
console.log(this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId6").innerText))
|
|
972
|
-
list.push({
|
|
973
|
-
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId6").innerText).feedId,
|
|
974
|
-
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId6").innerText).uid,
|
|
975
|
-
name: this.state.videoSixName,
|
|
976
|
-
tourist: false
|
|
977
|
-
})
|
|
978
|
-
}
|
|
979
|
-
if (document.getElementById('video7').name && !this.state.isPIBIntranet[6].type) {
|
|
980
|
-
list.push({
|
|
981
|
-
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId7").innerText).feedId,
|
|
982
|
-
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId7").innerText).uid,
|
|
983
|
-
name: this.state.videoSevenName,
|
|
984
|
-
tourist: false
|
|
985
|
-
})
|
|
986
|
-
}
|
|
987
|
-
if (document.getElementById('video8').name && !this.state.isPIBIntranet[7].type) {
|
|
988
|
-
list.push({
|
|
989
|
-
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId8").innerText).feedId,
|
|
990
|
-
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId8").innerText).uid,
|
|
991
|
-
name: this.state.videoEightName,
|
|
992
|
-
tourist: false
|
|
993
|
-
})
|
|
994
|
-
}
|
|
995
|
-
if (document.getElementById('video9').name && !this.state.isPIBIntranet[8].type) {
|
|
996
|
-
list.push({
|
|
997
|
-
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId9").innerText).feedId,
|
|
998
|
-
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId9").innerText).uid,
|
|
999
|
-
name: this.state.videoNineName,
|
|
1000
|
-
tourist: false
|
|
1001
|
-
})
|
|
1002
|
-
}
|
|
1003
|
-
if (document.getElementById('video10').name && !this.state.isPIBIntranet[9].type) {
|
|
1004
|
-
list.push({
|
|
1005
|
-
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId10").innerText).feedId,
|
|
1006
|
-
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId10").innerText).uid,
|
|
1007
|
-
name: this.state.videoTenName,
|
|
1008
|
-
tourist: false
|
|
1009
|
-
})
|
|
1010
|
-
}
|
|
1011
|
-
if (document.getElementById('video11').name && !this.state.isPIBIntranet[10].type) {
|
|
1012
|
-
list.push({
|
|
1013
|
-
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId11").innerText).feedId,
|
|
1014
|
-
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId11").innerText).uid,
|
|
1015
|
-
name: this.state.videoElevenName,
|
|
1016
|
-
tourist: false
|
|
1017
|
-
})
|
|
1018
|
-
}
|
|
1019
|
-
if (document.getElementById('video12').name && !this.state.isPIBIntranet[11].type) {
|
|
1020
|
-
list.push({
|
|
1021
|
-
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId12").innerText).feedId,
|
|
1022
|
-
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId12").innerText).uid,
|
|
1023
|
-
name: this.state.videoTwelveName,
|
|
1024
|
-
tourist: false
|
|
1025
|
-
})
|
|
862
|
+
for (let i =1;i<=12;i++){
|
|
863
|
+
let item = this.state.videoList[i-1];
|
|
864
|
+
if (document.getElementById('video'+ i).name && !item.isPIBIntranet && item.userSide===1) {
|
|
865
|
+
// console.log(this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId"+i).innerText))
|
|
866
|
+
list.push({
|
|
867
|
+
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId"+i).innerText).feedId,
|
|
868
|
+
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId"+i).innerText).uid,
|
|
869
|
+
name: item.videoName,
|
|
870
|
+
tourist: false
|
|
871
|
+
})
|
|
872
|
+
}
|
|
1026
873
|
}
|
|
1027
874
|
console.log(list)
|
|
1028
875
|
this.setState({
|
|
@@ -1143,110 +990,28 @@ class Video extends Component {
|
|
|
1143
990
|
pictureInPictureClick = (val) => {
|
|
1144
991
|
let interval
|
|
1145
992
|
const list = []
|
|
1146
|
-
if (document.getElementById('video1').name) {
|
|
1147
|
-
list.push({
|
|
1148
|
-
name: 'video1',
|
|
1149
|
-
title: this.state.videoOneName,
|
|
1150
|
-
voice: 'voiceVideoOne',
|
|
1151
|
-
noVideo: this.state.noVideoOne
|
|
1152
|
-
})
|
|
1153
|
-
}
|
|
1154
993
|
if (document.getElementById('publish_video1').name) {
|
|
1155
994
|
list.push({
|
|
1156
995
|
name: 'publish_video1',
|
|
1157
996
|
title: this.props.meetingInfo.host ? this.props.meetingInfo.host : '客户经理1',
|
|
1158
|
-
|
|
997
|
+
mute: this.state.voiceStatue,
|
|
1159
998
|
noVideo: false
|
|
1160
999
|
})
|
|
1161
1000
|
}
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
})
|
|
1177
|
-
}
|
|
1178
|
-
if (document.getElementById('video4').name) {
|
|
1179
|
-
list.push({
|
|
1180
|
-
name: 'video4',
|
|
1181
|
-
title: this.state.videoFourName,
|
|
1182
|
-
voice: 'voiceVideoFour',
|
|
1183
|
-
noVideo: this.state.noVideoFour
|
|
1184
|
-
})
|
|
1185
|
-
}
|
|
1186
|
-
if (document.getElementById('video5').name) {
|
|
1187
|
-
list.push({
|
|
1188
|
-
name: 'video5',
|
|
1189
|
-
title: this.state.videoFiveName,
|
|
1190
|
-
voice: 'voiceVideoFive',
|
|
1191
|
-
noVideo: this.state.noVideoFive
|
|
1192
|
-
})
|
|
1193
|
-
}
|
|
1194
|
-
if (document.getElementById('video6').name) {
|
|
1195
|
-
list.push({
|
|
1196
|
-
name: 'video6',
|
|
1197
|
-
title: this.state.videoSixName,
|
|
1198
|
-
voice: 'voiceVideoSix',
|
|
1199
|
-
noVideo: this.state.noVideoSix
|
|
1200
|
-
})
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
if (document.getElementById('video7').name) {
|
|
1204
|
-
list.push({
|
|
1205
|
-
name: 'video7',
|
|
1206
|
-
title: this.state.videoSevenName,
|
|
1207
|
-
voice: 'voiceVideoSeven',
|
|
1208
|
-
noVideo: this.state.noVideoSeven
|
|
1209
|
-
})
|
|
1210
|
-
}
|
|
1211
|
-
if (document.getElementById('video8').name) {
|
|
1212
|
-
list.push({
|
|
1213
|
-
name: 'video8',
|
|
1214
|
-
title: this.state.videoEightName,
|
|
1215
|
-
voice: 'voiceVideoEight',
|
|
1216
|
-
noVideo: this.state.noVideoEight
|
|
1217
|
-
})
|
|
1218
|
-
}
|
|
1219
|
-
if (document.getElementById('video9').name) {
|
|
1220
|
-
list.push({
|
|
1221
|
-
name: 'video9',
|
|
1222
|
-
title: this.state.videoNineName,
|
|
1223
|
-
voice: 'voiceVideoNine',
|
|
1224
|
-
noVideo: this.state.noVideoNine
|
|
1225
|
-
})
|
|
1226
|
-
}
|
|
1227
|
-
if (document.getElementById('video10').name) {
|
|
1228
|
-
list.push({
|
|
1229
|
-
name: 'video10',
|
|
1230
|
-
title: this.state.videoTenName,
|
|
1231
|
-
voice: 'voiceVideoTen',
|
|
1232
|
-
noVideo: this.state.noVideoTen
|
|
1233
|
-
})
|
|
1234
|
-
}
|
|
1235
|
-
if (document.getElementById('video11').name) {
|
|
1236
|
-
list.push({
|
|
1237
|
-
name: 'video11',
|
|
1238
|
-
title: this.state.videoElevenName,
|
|
1239
|
-
voice: 'voiceVideoEleven',
|
|
1240
|
-
noVideo: this.state.noVideoEleven
|
|
1241
|
-
})
|
|
1242
|
-
}
|
|
1243
|
-
if (document.getElementById('video12').name) {
|
|
1244
|
-
list.push({
|
|
1245
|
-
name: 'video12',
|
|
1246
|
-
title: this.state.videoTwelveName,
|
|
1247
|
-
voice: 'voiceVideoTwelve',
|
|
1248
|
-
noVideo: this.state.noVideoTwelve
|
|
1249
|
-
})
|
|
1001
|
+
console.log(this.state.videoList)
|
|
1002
|
+
var sortedlist = [...this.state.videoList]
|
|
1003
|
+
sortedlist.sort((a, b)=>{
|
|
1004
|
+
return a.order - b.order;
|
|
1005
|
+
})
|
|
1006
|
+
for (let i =1;i<=12;i++){
|
|
1007
|
+
if(document.getElementById('video'+i).name){
|
|
1008
|
+
list.push({
|
|
1009
|
+
name: 'video' + i,
|
|
1010
|
+
title: sortedlist[i-1].videoName,
|
|
1011
|
+
mute: sortedlist[i-1].mute,
|
|
1012
|
+
noVideo: sortedlist[i-1].noVideo
|
|
1013
|
+
})
|
|
1014
|
+
}
|
|
1250
1015
|
}
|
|
1251
1016
|
console.log(list)
|
|
1252
1017
|
this.state.listVideoPicture = list
|
|
@@ -1367,7 +1132,7 @@ class Video extends Component {
|
|
|
1367
1132
|
let microphoneSize = 50
|
|
1368
1133
|
var img = document.getElementById("icon_huatong");
|
|
1369
1134
|
var img1 = document.getElementById("icon_huatong_close");
|
|
1370
|
-
if (this.state
|
|
1135
|
+
if (this.state.listVideoPicture[i].mute) {
|
|
1371
1136
|
cobj.drawImage(img1, 10, 360 * (i + 1) - 60, microphoneSize, microphoneSize);
|
|
1372
1137
|
} else {
|
|
1373
1138
|
cobj.drawImage(img, 10, 360 * (i + 1) - 60, microphoneSize, microphoneSize);
|
|
@@ -1532,161 +1297,32 @@ class Video extends Component {
|
|
|
1532
1297
|
// this.endSession('customerHangUp')
|
|
1533
1298
|
// }
|
|
1534
1299
|
// }
|
|
1535
|
-
else if (Mival.typeId == 3002) {
|
|
1300
|
+
else if (Mival.typeId == 3002) { // app进入后台
|
|
1536
1301
|
if (Mival.data.sessionId == this.state.sessionId) {
|
|
1537
|
-
|
|
1538
|
-
this.
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
}
|
|
1542
|
-
if (Mival.data.userId == (document.getElementById("feedId2").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId2").innerText).uid : '')) {
|
|
1543
|
-
|
|
1544
|
-
this.setState({
|
|
1545
|
-
noVideoTwo: true
|
|
1546
|
-
})
|
|
1547
|
-
}
|
|
1548
|
-
if (Mival.data.userId == (document.getElementById("feedId3").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId3").innerText).uid : '')) {
|
|
1549
|
-
this.setState({
|
|
1550
|
-
noVideoThree: true
|
|
1551
|
-
})
|
|
1552
|
-
|
|
1553
|
-
}
|
|
1554
|
-
if (Mival.data.userId == (document.getElementById("feedId4").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId4").innerText).uid : '')) {
|
|
1555
|
-
|
|
1556
|
-
this.setState({
|
|
1557
|
-
noVideoFour: true
|
|
1558
|
-
})
|
|
1559
|
-
}
|
|
1560
|
-
if (Mival.data.userId == (document.getElementById("feedId5").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId5").innerText).uid : '')) {
|
|
1561
|
-
this.setState({
|
|
1562
|
-
noVideoFive: true
|
|
1563
|
-
})
|
|
1564
|
-
|
|
1565
|
-
}
|
|
1566
|
-
if (Mival.data.userId == (document.getElementById("feedId6").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId6").innerText).uid : '')) {
|
|
1567
|
-
|
|
1568
|
-
this.setState({
|
|
1569
|
-
noVideoSix: true
|
|
1570
|
-
})
|
|
1571
|
-
}
|
|
1572
|
-
if (Mival.data.userId == (document.getElementById("feedId7").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId7").innerText).uid : '')) {
|
|
1573
|
-
|
|
1574
|
-
this.setState({
|
|
1575
|
-
noVideoSeven: true
|
|
1576
|
-
})
|
|
1577
|
-
}
|
|
1578
|
-
if (Mival.data.userId == (document.getElementById("feedId8").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId8").innerText).uid : '')) {
|
|
1579
|
-
this.setState({
|
|
1580
|
-
noVideoEight: true
|
|
1581
|
-
})
|
|
1582
|
-
|
|
1583
|
-
}
|
|
1584
|
-
if (Mival.data.userId == (document.getElementById("feedId9").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId9").innerText).uid : '')) {
|
|
1585
|
-
|
|
1586
|
-
this.setState({
|
|
1587
|
-
noVideoNine: true
|
|
1588
|
-
})
|
|
1589
|
-
}
|
|
1590
|
-
if (Mival.data.userId == (document.getElementById("feedId10").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId10").innerText).uid : '')) {
|
|
1591
|
-
this.setState({
|
|
1592
|
-
noVideoTen: true
|
|
1593
|
-
})
|
|
1594
|
-
|
|
1595
|
-
}
|
|
1596
|
-
if (Mival.data.userId == (document.getElementById("feedId11").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId11").innerText).uid : '')) {
|
|
1597
|
-
|
|
1598
|
-
this.setState({
|
|
1599
|
-
noVideoEleven: true
|
|
1600
|
-
})
|
|
1601
|
-
}
|
|
1602
|
-
if (Mival.data.userId == (document.getElementById("feedId12").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId12").innerText).uid : '')) {
|
|
1603
|
-
|
|
1604
|
-
this.setState({
|
|
1605
|
-
noVideoTwelve: true
|
|
1606
|
-
})
|
|
1302
|
+
for(let i=1;i<=12;i++){
|
|
1303
|
+
if(Mival.data.userId == (document.getElementById("feedId"+i).innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId"+i).innerText).uid : '')) {
|
|
1304
|
+
this.state.videoList[i-1].noVideo = true
|
|
1305
|
+
}
|
|
1607
1306
|
}
|
|
1608
|
-
|
|
1307
|
+
this.setState({
|
|
1308
|
+
videoList: this.state.videoList
|
|
1309
|
+
}, ()=>{
|
|
1609
1310
|
this.pictureInPicture('Refresh')
|
|
1610
|
-
}
|
|
1611
|
-
|
|
1311
|
+
})
|
|
1612
1312
|
}
|
|
1613
1313
|
}
|
|
1614
|
-
else if (Mival.typeId == 3003) {
|
|
1314
|
+
else if (Mival.typeId == 3003) { // app进入前台
|
|
1615
1315
|
if (Mival.data.sessionId == this.state.sessionId) {
|
|
1616
|
-
|
|
1617
|
-
this.
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
}
|
|
1621
|
-
if (Mival.data.userId == (document.getElementById("feedId2").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId2").innerText).uid : '')) {
|
|
1622
|
-
|
|
1623
|
-
this.setState({
|
|
1624
|
-
noVideoTwo: false
|
|
1625
|
-
})
|
|
1626
|
-
}
|
|
1627
|
-
if (Mival.data.userId == (document.getElementById("feedId3").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId3").innerText).uid : '')) {
|
|
1628
|
-
this.setState({
|
|
1629
|
-
noVideoThree: false
|
|
1630
|
-
})
|
|
1631
|
-
|
|
1632
|
-
}
|
|
1633
|
-
if (Mival.data.userId == (document.getElementById("feedId4").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId4").innerText).uid : '')) {
|
|
1634
|
-
|
|
1635
|
-
this.setState({
|
|
1636
|
-
noVideoFour: false
|
|
1637
|
-
})
|
|
1638
|
-
}
|
|
1639
|
-
if (Mival.data.userId == (document.getElementById("feedId5").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId5").innerText).uid : '')) {
|
|
1640
|
-
this.setState({
|
|
1641
|
-
noVideoFive: false
|
|
1642
|
-
})
|
|
1643
|
-
|
|
1644
|
-
}
|
|
1645
|
-
if (Mival.data.userId == (document.getElementById("feedId6").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId6").innerText).uid : '')) {
|
|
1646
|
-
|
|
1647
|
-
this.setState({
|
|
1648
|
-
noVideoSix: false
|
|
1649
|
-
})
|
|
1650
|
-
}
|
|
1651
|
-
if (Mival.data.userId == (document.getElementById("feedId7").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId7").innerText).uid : '')) {
|
|
1652
|
-
|
|
1653
|
-
this.setState({
|
|
1654
|
-
noVideoSeven: false
|
|
1655
|
-
})
|
|
1656
|
-
}
|
|
1657
|
-
if (Mival.data.userId == (document.getElementById("feedId8").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId8").innerText).uid : '')) {
|
|
1658
|
-
this.setState({
|
|
1659
|
-
noVideoEight: false
|
|
1660
|
-
})
|
|
1661
|
-
|
|
1662
|
-
}
|
|
1663
|
-
if (Mival.data.userId == (document.getElementById("feedId9").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId9").innerText).uid : '')) {
|
|
1664
|
-
|
|
1665
|
-
this.setState({
|
|
1666
|
-
noVideoNine: false
|
|
1667
|
-
})
|
|
1668
|
-
}
|
|
1669
|
-
if (Mival.data.userId == (document.getElementById("feedId10").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId10").innerText).uid : '')) {
|
|
1670
|
-
this.setState({
|
|
1671
|
-
noVideoTen: false
|
|
1672
|
-
})
|
|
1673
|
-
|
|
1674
|
-
}
|
|
1675
|
-
if (Mival.data.userId == (document.getElementById("feedId11").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId11").innerText).uid : '')) {
|
|
1676
|
-
|
|
1677
|
-
this.setState({
|
|
1678
|
-
noVideoEleven: false
|
|
1679
|
-
})
|
|
1680
|
-
}
|
|
1681
|
-
if (Mival.data.userId == (document.getElementById("feedId12").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId12").innerText).uid : '')) {
|
|
1682
|
-
|
|
1683
|
-
this.setState({
|
|
1684
|
-
noVideoTwelve: false
|
|
1685
|
-
})
|
|
1316
|
+
for(let i=1;i<=12;i++){
|
|
1317
|
+
if(Mival.data.userId == (document.getElementById("feedId"+i).innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId"+i).innerText).uid : '')) {
|
|
1318
|
+
this.state.videoList[i-1].noVideo = false
|
|
1319
|
+
}
|
|
1686
1320
|
}
|
|
1687
|
-
|
|
1321
|
+
this.setState({
|
|
1322
|
+
videoList: this.state.videoList
|
|
1323
|
+
}, ()=>{
|
|
1688
1324
|
this.pictureInPicture('Refresh')
|
|
1689
|
-
}
|
|
1325
|
+
})
|
|
1690
1326
|
}
|
|
1691
1327
|
}
|
|
1692
1328
|
else if (Mival.typeId == 1220) {
|
|
@@ -1740,164 +1376,24 @@ class Video extends Component {
|
|
|
1740
1376
|
}
|
|
1741
1377
|
|
|
1742
1378
|
} else if (Mival.typeId == 3100) {
|
|
1743
|
-
if
|
|
1744
|
-
muteJson.set(Mival.data.userId, JSON.stringify(Mival))
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
this.setState({
|
|
1762
|
-
voiceVideoTwo: false
|
|
1763
|
-
})
|
|
1764
|
-
} else if (Mival.muteStatus == 1) {
|
|
1765
|
-
this.setState({
|
|
1766
|
-
voiceVideoTwo: true
|
|
1767
|
-
})
|
|
1768
|
-
}
|
|
1769
|
-
|
|
1770
|
-
}
|
|
1771
|
-
if (Mival.data.userId == (document.getElementById("feedId3").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId3").innerText).uid : '')) {
|
|
1772
|
-
muteJson.delete(Mival.data.userId)
|
|
1773
|
-
if (Mival.muteStatus == 0) {
|
|
1774
|
-
this.setState({
|
|
1775
|
-
voiceVideoThree: false
|
|
1776
|
-
})
|
|
1777
|
-
} else if (Mival.muteStatus == 1) {
|
|
1778
|
-
this.setState({
|
|
1779
|
-
voiceVideoThree: true
|
|
1780
|
-
})
|
|
1781
|
-
}
|
|
1782
|
-
|
|
1783
|
-
}
|
|
1784
|
-
if (Mival.data.userId == (document.getElementById("feedId4").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId4").innerText).uid : '')) {
|
|
1785
|
-
muteJson.delete(Mival.data.userId)
|
|
1786
|
-
if (Mival.muteStatus == 0) {
|
|
1787
|
-
this.setState({
|
|
1788
|
-
voiceVideoFour: false
|
|
1789
|
-
})
|
|
1790
|
-
} else if (Mival.muteStatus == 1) {
|
|
1791
|
-
this.setState({
|
|
1792
|
-
voiceVideoFour: true
|
|
1793
|
-
})
|
|
1794
|
-
}
|
|
1795
|
-
|
|
1796
|
-
}
|
|
1797
|
-
if (Mival.data.userId == (document.getElementById("feedId5").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId5").innerText).uid : '')) {
|
|
1798
|
-
muteJson.delete(Mival.data.userId)
|
|
1799
|
-
if (Mival.muteStatus == 0) {
|
|
1800
|
-
this.setState({
|
|
1801
|
-
voiceVideoFive: false
|
|
1802
|
-
})
|
|
1803
|
-
} else if (Mival.muteStatus == 1) {
|
|
1804
|
-
this.setState({
|
|
1805
|
-
voiceVideoFive: true
|
|
1806
|
-
})
|
|
1807
|
-
}
|
|
1808
|
-
|
|
1809
|
-
}
|
|
1810
|
-
if (Mival.data.userId == (document.getElementById("feedId6").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId6").innerText).uid : '')) {
|
|
1811
|
-
muteJson.delete(Mival.data.userId)
|
|
1812
|
-
if (Mival.muteStatus == 0) {
|
|
1813
|
-
this.setState({
|
|
1814
|
-
voiceVideoSix: false
|
|
1815
|
-
})
|
|
1816
|
-
} else if (Mival.muteStatus == 1) {
|
|
1817
|
-
this.setState({
|
|
1818
|
-
voiceVideoSix: true
|
|
1819
|
-
})
|
|
1820
|
-
}
|
|
1821
|
-
|
|
1822
|
-
}
|
|
1823
|
-
|
|
1824
|
-
if (Mival.data.userId == (document.getElementById("feedId7").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId7").innerText).uid : '')) {
|
|
1825
|
-
muteJson.delete(Mival.data.userId)
|
|
1826
|
-
if (Mival.muteStatus == 0) {
|
|
1827
|
-
this.setState({
|
|
1828
|
-
voiceVideoSeven: false
|
|
1829
|
-
})
|
|
1830
|
-
} else if (Mival.muteStatus == 1) {
|
|
1831
|
-
this.setState({
|
|
1832
|
-
voiceVideoSeven: true
|
|
1833
|
-
})
|
|
1834
|
-
}
|
|
1835
|
-
|
|
1836
|
-
}
|
|
1837
|
-
if (Mival.data.userId == (document.getElementById("feedId8").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId8").innerText).uid : '')) {
|
|
1838
|
-
muteJson.delete(Mival.data.userId)
|
|
1839
|
-
if (Mival.muteStatus == 0) {
|
|
1840
|
-
this.setState({
|
|
1841
|
-
voiceVideoEight: false
|
|
1842
|
-
})
|
|
1843
|
-
} else if (Mival.muteStatus == 1) {
|
|
1844
|
-
this.setState({
|
|
1845
|
-
voiceVideoEight: true
|
|
1846
|
-
})
|
|
1847
|
-
}
|
|
1848
|
-
|
|
1849
|
-
}
|
|
1850
|
-
if (Mival.data.userId == (document.getElementById("feedId9").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId9").innerText).uid : '')) {
|
|
1851
|
-
muteJson.delete(Mival.data.userId)
|
|
1852
|
-
if (Mival.muteStatus == 0) {
|
|
1853
|
-
this.setState({
|
|
1854
|
-
voiceVideoNine: false
|
|
1855
|
-
})
|
|
1856
|
-
} else if (Mival.muteStatus == 1) {
|
|
1857
|
-
this.setState({
|
|
1858
|
-
voiceVideoNine: true
|
|
1859
|
-
})
|
|
1860
|
-
}
|
|
1861
|
-
|
|
1862
|
-
}
|
|
1863
|
-
if (Mival.data.userId == (document.getElementById("feedId10").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId10").innerText).uid : '')) {
|
|
1864
|
-
muteJson.delete(Mival.data.userId)
|
|
1865
|
-
if (Mival.muteStatus == 0) {
|
|
1866
|
-
this.setState({
|
|
1867
|
-
voiceVideoTen: false
|
|
1868
|
-
})
|
|
1869
|
-
} else if (Mival.muteStatus == 1) {
|
|
1870
|
-
this.setState({
|
|
1871
|
-
voiceVideoTen: true
|
|
1872
|
-
})
|
|
1873
|
-
}
|
|
1874
|
-
|
|
1875
|
-
}
|
|
1876
|
-
if (Mival.data.userId == (document.getElementById("feedId11").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId11").innerText).uid : '')) {
|
|
1877
|
-
muteJson.delete(Mival.data.userId)
|
|
1878
|
-
if (Mival.muteStatus == 0) {
|
|
1879
|
-
this.setState({
|
|
1880
|
-
voiceVideoEleven: false
|
|
1881
|
-
})
|
|
1882
|
-
} else if (Mival.muteStatus == 1) {
|
|
1883
|
-
this.setState({
|
|
1884
|
-
voiceVideoEleven: true
|
|
1885
|
-
})
|
|
1886
|
-
}
|
|
1887
|
-
|
|
1888
|
-
}
|
|
1889
|
-
if (Mival.data.userId == (document.getElementById("feedId12").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId12").innerText).uid : '')) {
|
|
1890
|
-
muteJson.delete(Mival.data.userId)
|
|
1891
|
-
if (Mival.muteStatus == 0) {
|
|
1892
|
-
this.setState({
|
|
1893
|
-
voiceVideoTwelve: false
|
|
1894
|
-
})
|
|
1895
|
-
} else if (Mival.muteStatus == 1) {
|
|
1896
|
-
this.setState({
|
|
1897
|
-
voiceVideoTwelve: true
|
|
1898
|
-
})
|
|
1899
|
-
}
|
|
1900
|
-
|
|
1379
|
+
if(Mival.data.sessionId == this.state.sessionId) {
|
|
1380
|
+
muteJson.set(Mival.data.userId, JSON.stringify(Mival))
|
|
1381
|
+
for(let i=1;i<=12;i++){
|
|
1382
|
+
if(Mival.data.userId == (document.getElementById("feedId"+i).innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId"+i).innerText).uid : '')) {
|
|
1383
|
+
muteJson.delete(Mival.data.userId)
|
|
1384
|
+
if(Mival.muteStatus == 0) {
|
|
1385
|
+
this.state.videoList[i-1].mute = false
|
|
1386
|
+
this.setState({
|
|
1387
|
+
videoList: this.state.videoList
|
|
1388
|
+
})
|
|
1389
|
+
} else if(Mival.muteStatus == 1) {
|
|
1390
|
+
this.state.videoList[i-1].mute = true
|
|
1391
|
+
this.setState({
|
|
1392
|
+
videoList: this.state.videoList
|
|
1393
|
+
})
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
}
|
|
1901
1397
|
}
|
|
1902
1398
|
}
|
|
1903
1399
|
} else if (Mival.typeId == 121305) {
|
|
@@ -1922,70 +1418,16 @@ class Video extends Component {
|
|
|
1922
1418
|
this.tabTitlesClick('customerScreen', 'delect')
|
|
1923
1419
|
|
|
1924
1420
|
} else if (Mival.typeId == 1401) {
|
|
1421
|
+
// 用户修改名字
|
|
1925
1422
|
if (Mival.sessionId == this.state.sessionId) {
|
|
1926
|
-
|
|
1927
|
-
this.
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
}
|
|
1932
|
-
if (Mival.userId == (document.getElementById("feedId2").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId2").innerText).uid : '')) {
|
|
1933
|
-
this.setState({
|
|
1934
|
-
videoTwoName: Mival.name
|
|
1935
|
-
})
|
|
1936
|
-
}
|
|
1937
|
-
if (Mival.userId == (document.getElementById("feedId3").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId3").innerText).uid : '')) {
|
|
1938
|
-
this.setState({
|
|
1939
|
-
videoThreeName: Mival.name
|
|
1940
|
-
})
|
|
1941
|
-
}
|
|
1942
|
-
if (Mival.userId == (document.getElementById("feedId4").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId4").innerText).uid : '')) {
|
|
1943
|
-
this.setState({
|
|
1944
|
-
videoFourName: Mival.name
|
|
1945
|
-
})
|
|
1946
|
-
}
|
|
1947
|
-
if (Mival.userId == (document.getElementById("feedId5").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId5").innerText).uid : '')) {
|
|
1948
|
-
this.setState({
|
|
1949
|
-
videoFiveName: Mival.name
|
|
1950
|
-
})
|
|
1951
|
-
}
|
|
1952
|
-
if (Mival.userId == (document.getElementById("feedId6").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId6").innerText).uid : '')) {
|
|
1953
|
-
this.setState({
|
|
1954
|
-
videoSixName: Mival.name
|
|
1955
|
-
})
|
|
1956
|
-
}
|
|
1957
|
-
|
|
1958
|
-
if (Mival.userId == (document.getElementById("feedId7").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId7").innerText).uid : '')) {
|
|
1959
|
-
this.setState({
|
|
1960
|
-
videoSevenName: Mival.name
|
|
1961
|
-
})
|
|
1962
|
-
}
|
|
1963
|
-
if (Mival.userId == (document.getElementById("feedId8").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId8").innerText).uid : '')) {
|
|
1964
|
-
this.setState({
|
|
1965
|
-
videoEightName: Mival.name
|
|
1966
|
-
})
|
|
1967
|
-
}
|
|
1968
|
-
if (Mival.userId == (document.getElementById("feedId9").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId9").innerText).uid : '')) {
|
|
1969
|
-
this.setState({
|
|
1970
|
-
videoNineName: Mival.name
|
|
1971
|
-
})
|
|
1972
|
-
}
|
|
1973
|
-
if (Mival.userId == (document.getElementById("feedId10").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId10").innerText).uid : '')) {
|
|
1974
|
-
this.setState({
|
|
1975
|
-
videoTenName: Mival.name
|
|
1976
|
-
})
|
|
1977
|
-
}
|
|
1978
|
-
if (Mival.userId == (document.getElementById("feedId11").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId11").innerText).uid : '')) {
|
|
1979
|
-
this.setState({
|
|
1980
|
-
videoElevenName: Mival.name
|
|
1981
|
-
})
|
|
1982
|
-
}
|
|
1983
|
-
if (Mival.userId == (document.getElementById("feedId12").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId12").innerText).uid : '')) {
|
|
1984
|
-
this.setState({
|
|
1985
|
-
videoTwelveName: Mival.name
|
|
1986
|
-
})
|
|
1423
|
+
for(let i=1;i<=12;i++){
|
|
1424
|
+
if(Mival.userId == (document.getElementById("feedId"+i).innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId"+i).innerText).uid : '')) {
|
|
1425
|
+
this.state.videoList[i-1].videoName = Mival.name
|
|
1426
|
+
}
|
|
1987
1427
|
}
|
|
1988
|
-
|
|
1428
|
+
this.setState({
|
|
1429
|
+
videoList: this.state.videoList
|
|
1430
|
+
})
|
|
1989
1431
|
}
|
|
1990
1432
|
}
|
|
1991
1433
|
};
|
|
@@ -2467,169 +1909,27 @@ class Video extends Component {
|
|
|
2467
1909
|
|
|
2468
1910
|
this.appGetUsername(sid)
|
|
2469
1911
|
console.log(muteJson, muteJson.size)
|
|
2470
|
-
if
|
|
2471
|
-
let
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
if
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
voiceVideoTwo: false
|
|
2490
|
-
})
|
|
2491
|
-
} else if (JSON.parse(muteJson.get(userId)).muteStatus == 1) {
|
|
2492
|
-
this.setState({
|
|
2493
|
-
voiceVideoTwo: true
|
|
2494
|
-
})
|
|
2495
|
-
}
|
|
2496
|
-
muteJson.delete(userId)
|
|
2497
|
-
}
|
|
2498
|
-
if (muteJson.get(document.getElementById("feedId3").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId3").innerText).uid : '')) {
|
|
2499
|
-
userId = document.getElementById("feedId3").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId3").innerText).uid : ''
|
|
2500
|
-
if (JSON.parse(muteJson.get(userId)).muteStatus == 0) {
|
|
2501
|
-
this.setState({
|
|
2502
|
-
voiceVideoThree: false
|
|
2503
|
-
})
|
|
2504
|
-
} else if (JSON.parse(muteJson.get(userId)).muteStatus == 1) {
|
|
2505
|
-
this.setState({
|
|
2506
|
-
voiceVideoThree: true
|
|
2507
|
-
})
|
|
2508
|
-
}
|
|
2509
|
-
muteJson.delete(userId)
|
|
2510
|
-
}
|
|
2511
|
-
if (muteJson.get(document.getElementById("feedId4").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId4").innerText).uid : '')) {
|
|
2512
|
-
userId = document.getElementById("feedId4").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId4").innerText).uid : ''
|
|
2513
|
-
if (JSON.parse(muteJson.get(userId)).muteStatus == 0) {
|
|
2514
|
-
this.setState({
|
|
2515
|
-
voiceVideoFour: false
|
|
2516
|
-
})
|
|
2517
|
-
} else if (JSON.parse(muteJson.get(userId)).muteStatus == 1) {
|
|
2518
|
-
this.setState({
|
|
2519
|
-
voiceVideoFour: true
|
|
2520
|
-
})
|
|
2521
|
-
}
|
|
2522
|
-
muteJson.delete(userId)
|
|
2523
|
-
}
|
|
2524
|
-
if (muteJson.get(document.getElementById("feedId5").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId5").innerText).uid : '')) {
|
|
2525
|
-
userId = document.getElementById("feedId5").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId5").innerText).uid : ''
|
|
2526
|
-
if (JSON.parse(muteJson.get(userId)).muteStatus == 0) {
|
|
2527
|
-
this.setState({
|
|
2528
|
-
voiceVideoFive: false
|
|
2529
|
-
})
|
|
2530
|
-
} else if (JSON.parse(muteJson.get(userId)).muteStatus == 1) {
|
|
2531
|
-
this.setState({
|
|
2532
|
-
voiceVideoFive: true
|
|
2533
|
-
})
|
|
2534
|
-
}
|
|
2535
|
-
muteJson.delete(userId)
|
|
2536
|
-
}
|
|
2537
|
-
if (muteJson.get(document.getElementById("feedId6").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId6").innerText).uid : '')) {
|
|
2538
|
-
userId = document.getElementById("feedId6").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId6").innerText).uid : ''
|
|
2539
|
-
if (JSON.parse(muteJson.get(userId)).muteStatus == 0) {
|
|
2540
|
-
this.setState({
|
|
2541
|
-
voiceVideoSix: false
|
|
2542
|
-
})
|
|
2543
|
-
} else if (JSON.parse(muteJson.get(userId)).muteStatus == 1) {
|
|
2544
|
-
this.setState({
|
|
2545
|
-
voiceVideoSix: true
|
|
2546
|
-
})
|
|
2547
|
-
}
|
|
2548
|
-
muteJson.delete(userId)
|
|
2549
|
-
}
|
|
2550
|
-
if (muteJson.get(document.getElementById("feedId7").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId7").innerText).uid : '')) {
|
|
2551
|
-
userId = document.getElementById("feedId7").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId7").innerText).uid : ''
|
|
2552
|
-
if (JSON.parse(muteJson.get(userId)).muteStatus == 0) {
|
|
2553
|
-
this.setState({
|
|
2554
|
-
voiceVideoSeven: false
|
|
2555
|
-
})
|
|
2556
|
-
} else if (JSON.parse(muteJson.get(userId)).muteStatus == 1) {
|
|
2557
|
-
this.setState({
|
|
2558
|
-
voiceVideoSeven: true
|
|
2559
|
-
})
|
|
2560
|
-
}
|
|
2561
|
-
muteJson.delete(userId)
|
|
2562
|
-
}
|
|
2563
|
-
if (muteJson.get(document.getElementById("feedId8").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId8").innerText).uid : '')) {
|
|
2564
|
-
userId = document.getElementById("feedId8").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId8").innerText).uid : ''
|
|
2565
|
-
|
|
2566
|
-
if (JSON.parse(muteJson.get(userId)).muteStatus == 0) {
|
|
2567
|
-
this.setState({
|
|
2568
|
-
voiceVideoEight: false
|
|
2569
|
-
})
|
|
2570
|
-
} else if (JSON.parse(muteJson.get(userId)).muteStatus == 1) {
|
|
2571
|
-
this.setState({
|
|
2572
|
-
voiceVideoEight: true
|
|
2573
|
-
})
|
|
2574
|
-
}
|
|
2575
|
-
muteJson.delete(userId)
|
|
2576
|
-
}
|
|
2577
|
-
if (muteJson.get(document.getElementById("feedId9").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId9").innerText).uid : '')) {
|
|
2578
|
-
userId = document.getElementById("feedId9").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId9").innerText).uid : ''
|
|
2579
|
-
|
|
2580
|
-
if (JSON.parse(muteJson.get(userId)).muteStatus == 0) {
|
|
2581
|
-
this.setState({
|
|
2582
|
-
voiceVideoNine: false
|
|
2583
|
-
})
|
|
2584
|
-
} else if (JSON.parse(muteJson.get(userId)).muteStatus == 1) {
|
|
2585
|
-
this.setState({
|
|
2586
|
-
voiceVideoNine: true
|
|
2587
|
-
})
|
|
2588
|
-
}
|
|
2589
|
-
muteJson.delete(userId)
|
|
2590
|
-
}
|
|
2591
|
-
if (muteJson.get(document.getElementById("feedId10").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId10").innerText).uid : '')) {
|
|
2592
|
-
userId = document.getElementById("feedId10").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId10").innerText).uid : ''
|
|
2593
|
-
|
|
2594
|
-
if (JSON.parse(muteJson.get(userId)).muteStatus == 0) {
|
|
2595
|
-
this.setState({
|
|
2596
|
-
voiceVideoTen: false
|
|
2597
|
-
})
|
|
2598
|
-
} else if (JSON.parse(muteJson.get(userId)).muteStatus == 1) {
|
|
2599
|
-
this.setState({
|
|
2600
|
-
voiceVideoTen: true
|
|
2601
|
-
})
|
|
2602
|
-
}
|
|
2603
|
-
muteJson.delete(userId)
|
|
2604
|
-
}
|
|
2605
|
-
if (muteJson.get(document.getElementById("feedId11").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId11").innerText).uid : '')) {
|
|
2606
|
-
userId = document.getElementById("feedId11").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId11").innerText).uid : ''
|
|
2607
|
-
|
|
2608
|
-
if (JSON.parse(muteJson.get(userId)).muteStatus == 0) {
|
|
2609
|
-
this.setState({
|
|
2610
|
-
voiceVideoEleven: false
|
|
2611
|
-
})
|
|
2612
|
-
} else if (JSON.parse(muteJson.get(userId)).muteStatus == 1) {
|
|
2613
|
-
this.setState({
|
|
2614
|
-
voiceVideoEleven: true
|
|
2615
|
-
})
|
|
2616
|
-
}
|
|
2617
|
-
muteJson.delete(userId)
|
|
2618
|
-
}
|
|
2619
|
-
if (muteJson.get(document.getElementById("feedId12").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId12").innerText).uid : '')) {
|
|
2620
|
-
userId = document.getElementById("feedId12").innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId12").innerText).uid : ''
|
|
2621
|
-
if (JSON.parse(muteJson.get(userId)).muteStatus == 0) {
|
|
2622
|
-
this.setState({
|
|
2623
|
-
voiceVideoTwelve: false
|
|
2624
|
-
})
|
|
2625
|
-
} else if (JSON.parse(muteJson.get(userId)).muteStatus == 1) {
|
|
2626
|
-
this.setState({
|
|
2627
|
-
voiceVideoTwelve: true
|
|
2628
|
-
})
|
|
2629
|
-
}
|
|
2630
|
-
muteJson.delete(userId)
|
|
1912
|
+
if(muteJson.size > 0) {
|
|
1913
|
+
for(let i=1;i<=12;i++){
|
|
1914
|
+
const userId = document.getElementById("feedId"+i).innerText ? this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId"+i).innerText).uid : ''
|
|
1915
|
+
console.log(muteJson.get(userId))
|
|
1916
|
+
if(muteJson.get(userId)) {
|
|
1917
|
+
|
|
1918
|
+
if(JSON.parse(muteJson.get(userId)).muteStatus == 0) {
|
|
1919
|
+
this.state.videoList[i-1].mute = false
|
|
1920
|
+
this.setState({
|
|
1921
|
+
videoList: this.state.videoList
|
|
1922
|
+
})
|
|
1923
|
+
} else if(JSON.parse(muteJson.get(userId)).muteStatus == 1) {
|
|
1924
|
+
this.state.videoList[i-1].mute = true
|
|
1925
|
+
this.setState({
|
|
1926
|
+
videoList: this.state.videoList
|
|
1927
|
+
})
|
|
1928
|
+
}
|
|
1929
|
+
muteJson.delete(userId)
|
|
1930
|
+
}
|
|
2631
1931
|
}
|
|
2632
|
-
console.log(muteJson,
|
|
1932
|
+
console.log(muteJson,muteJson.length)
|
|
2633
1933
|
}
|
|
2634
1934
|
};
|
|
2635
1935
|
// 订阅媒体流失败
|
|
@@ -2690,120 +1990,23 @@ class Video extends Component {
|
|
|
2690
1990
|
}, 'add'
|
|
2691
1991
|
)
|
|
2692
1992
|
} else {
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
subscribe_video_id: 'video2',
|
|
2705
|
-
subscribe_audio_id: 'audio2',
|
|
2706
|
-
subscribe_streamId_id: 'subscribe_streamId2',
|
|
2707
|
-
feedId_id: 'feedId2',
|
|
2708
|
-
feedId: itemOne.feedId
|
|
2709
|
-
}
|
|
2710
|
-
}
|
|
2711
|
-
else if (!document.getElementById('video3').name) {
|
|
2712
|
-
config_param = {
|
|
2713
|
-
subscribe_video_id: 'video3',
|
|
2714
|
-
subscribe_audio_id: 'audio3',
|
|
2715
|
-
subscribe_streamId_id: 'subscribe_streamId3',
|
|
2716
|
-
feedId_id: 'feedId3',
|
|
2717
|
-
feedId: itemOne.feedId
|
|
2718
|
-
}
|
|
2719
|
-
}
|
|
2720
|
-
else if (!document.getElementById('video4').name) {
|
|
2721
|
-
config_param = {
|
|
2722
|
-
subscribe_video_id: 'video4',
|
|
2723
|
-
subscribe_audio_id: 'audio4',
|
|
2724
|
-
subscribe_streamId_id: 'subscribe_streamId4',
|
|
2725
|
-
feedId_id: 'feedId4',
|
|
2726
|
-
feedId: itemOne.feedId
|
|
2727
|
-
}
|
|
2728
|
-
}
|
|
2729
|
-
else if (!document.getElementById('video5').name) {
|
|
2730
|
-
config_param = {
|
|
2731
|
-
subscribe_video_id: 'video5',
|
|
2732
|
-
subscribe_audio_id: 'audio5',
|
|
2733
|
-
subscribe_streamId_id: 'subscribe_streamId5',
|
|
2734
|
-
feedId_id: 'feedId5',
|
|
2735
|
-
feedId: itemOne.feedId
|
|
2736
|
-
}
|
|
2737
|
-
}
|
|
2738
|
-
else if (!document.getElementById('video6').name) {
|
|
2739
|
-
config_param = {
|
|
2740
|
-
subscribe_video_id: 'video6',
|
|
2741
|
-
subscribe_audio_id: 'audio6',
|
|
2742
|
-
subscribe_streamId_id: 'subscribe_streamId6',
|
|
2743
|
-
feedId_id: 'feedId6',
|
|
2744
|
-
feedId: itemOne.feedId
|
|
2745
|
-
}
|
|
2746
|
-
}
|
|
2747
|
-
|
|
2748
|
-
else if (!document.getElementById('video7').name) {
|
|
2749
|
-
config_param = {
|
|
2750
|
-
subscribe_video_id: 'video7',
|
|
2751
|
-
subscribe_audio_id: 'audio7',
|
|
2752
|
-
subscribe_streamId_id: 'subscribe_streamId7',
|
|
2753
|
-
feedId_id: 'feedId7',
|
|
2754
|
-
feedId: itemOne.feedId
|
|
2755
|
-
}
|
|
2756
|
-
}
|
|
2757
|
-
else if (!document.getElementById('video8').name) {
|
|
2758
|
-
config_param = {
|
|
2759
|
-
subscribe_video_id: 'video8',
|
|
2760
|
-
subscribe_audio_id: 'audio8',
|
|
2761
|
-
subscribe_streamId_id: 'subscribe_streamId8',
|
|
2762
|
-
feedId_id: 'feedId8',
|
|
2763
|
-
feedId: itemOne.feedId
|
|
2764
|
-
}
|
|
2765
|
-
}
|
|
2766
|
-
else if (!document.getElementById('video9').name) {
|
|
2767
|
-
config_param = {
|
|
2768
|
-
subscribe_video_id: 'video9',
|
|
2769
|
-
subscribe_audio_id: 'audio9',
|
|
2770
|
-
subscribe_streamId_id: 'subscribe_streamId9',
|
|
2771
|
-
feedId_id: 'feedId9',
|
|
2772
|
-
feedId: itemOne.feedId
|
|
2773
|
-
}
|
|
2774
|
-
}
|
|
2775
|
-
else if (!document.getElementById('video10').name) {
|
|
2776
|
-
config_param = {
|
|
2777
|
-
subscribe_video_id: 'video10',
|
|
2778
|
-
subscribe_audio_id: 'audio10',
|
|
2779
|
-
subscribe_streamId_id: 'subscribe_streamId10',
|
|
2780
|
-
feedId_id: 'feedId10',
|
|
2781
|
-
feedId: itemOne.feedId
|
|
2782
|
-
}
|
|
2783
|
-
}
|
|
2784
|
-
else if (!document.getElementById('video11').name) {
|
|
2785
|
-
config_param = {
|
|
2786
|
-
subscribe_video_id: 'video11',
|
|
2787
|
-
subscribe_audio_id: 'audio11',
|
|
2788
|
-
subscribe_streamId_id: 'subscribe_streamId11',
|
|
2789
|
-
feedId_id: 'feedId11',
|
|
2790
|
-
feedId: itemOne.feedId
|
|
2791
|
-
}
|
|
2792
|
-
}
|
|
2793
|
-
else if (!document.getElementById('video12').name) {
|
|
2794
|
-
config_param = {
|
|
2795
|
-
subscribe_video_id: 'video12',
|
|
2796
|
-
subscribe_audio_id: 'audio12',
|
|
2797
|
-
subscribe_streamId_id: 'subscribe_streamId12',
|
|
2798
|
-
feedId_id: 'feedId12',
|
|
2799
|
-
feedId: itemOne.feedId
|
|
2800
|
-
}
|
|
1993
|
+
for (let i=1;i<=12;i++){
|
|
1994
|
+
if(!document.getElementById('video'+i).name) {
|
|
1995
|
+
config_param = {
|
|
1996
|
+
subscribe_video_id: 'video'+i,
|
|
1997
|
+
subscribe_audio_id: 'audio'+i,
|
|
1998
|
+
subscribe_streamId_id: 'subscribe_streamId'+i,
|
|
1999
|
+
feedId_id: 'feedId'+i,
|
|
2000
|
+
feedId: itemOne.feedId
|
|
2001
|
+
}
|
|
2002
|
+
break;
|
|
2003
|
+
}
|
|
2801
2004
|
}
|
|
2802
2005
|
}
|
|
2803
2006
|
if (config_param !== undefined) {
|
|
2804
2007
|
config_param.need_volume_analyser = true
|
|
2805
2008
|
console.log(config_param)
|
|
2806
|
-
|
|
2009
|
+
console.log('发起订阅')
|
|
2807
2010
|
this.test_controller.Subscribe(config_param)
|
|
2808
2011
|
|
|
2809
2012
|
}
|
|
@@ -2883,135 +2086,39 @@ class Video extends Component {
|
|
|
2883
2086
|
this.test_controller.Subscribe(config_param)
|
|
2884
2087
|
|
|
2885
2088
|
}
|
|
2886
|
-
} else if (feed.tag == 'projectionWhiteboard') {
|
|
2887
|
-
config_param = {
|
|
2888
|
-
subscribe_video_id: 'video20',
|
|
2889
|
-
subscribe_audio_id: 'audio20',
|
|
2890
|
-
subscribe_streamId_id: 'subscribe_streamId20',
|
|
2891
|
-
feedId_id: 'feedId20',
|
|
2892
|
-
feedId: feed.feedId
|
|
2893
|
-
}
|
|
2894
|
-
|
|
2895
|
-
this.tabTitlesClick(
|
|
2896
|
-
{
|
|
2897
|
-
value: 'staffScreen',
|
|
2898
|
-
name: 'internal staff 投屏'
|
|
2899
|
-
}, 'add'
|
|
2900
|
-
)
|
|
2901
|
-
if (config_param !== undefined) {
|
|
2902
|
-
config_param.need_volume_analyser = false
|
|
2903
|
-
console.log(config_param)
|
|
2904
|
-
this.test_controller.Subscribe(config_param)
|
|
2905
|
-
|
|
2906
|
-
}
|
|
2907
|
-
} else {
|
|
2908
|
-
if (!document.getElementById('video1').name) {
|
|
2909
|
-
config_param = {
|
|
2910
|
-
subscribe_video_id: 'video1',
|
|
2911
|
-
subscribe_audio_id: 'audio1',
|
|
2912
|
-
subscribe_streamId_id: 'subscribe_streamId1',
|
|
2913
|
-
feedId_id: 'feedId1',
|
|
2914
|
-
feedId: feed.feedId
|
|
2915
|
-
}
|
|
2916
|
-
}
|
|
2917
|
-
else if (!document.getElementById('video2').name) {
|
|
2918
|
-
config_param = {
|
|
2919
|
-
subscribe_video_id: 'video2',
|
|
2920
|
-
subscribe_audio_id: 'audio2',
|
|
2921
|
-
subscribe_streamId_id: 'subscribe_streamId2',
|
|
2922
|
-
feedId_id: 'feedId2',
|
|
2923
|
-
feedId: feed.feedId
|
|
2924
|
-
}
|
|
2925
|
-
}
|
|
2926
|
-
else if (!document.getElementById('video3').name) {
|
|
2927
|
-
config_param = {
|
|
2928
|
-
subscribe_video_id: 'video3',
|
|
2929
|
-
subscribe_audio_id: 'audio3',
|
|
2930
|
-
subscribe_streamId_id: 'subscribe_streamId3',
|
|
2931
|
-
feedId_id: 'feedId3',
|
|
2932
|
-
feedId: feed.feedId
|
|
2933
|
-
}
|
|
2934
|
-
}
|
|
2935
|
-
else if (!document.getElementById('video4').name) {
|
|
2936
|
-
config_param = {
|
|
2937
|
-
subscribe_video_id: 'video4',
|
|
2938
|
-
subscribe_audio_id: 'audio4',
|
|
2939
|
-
subscribe_streamId_id: 'subscribe_streamId4',
|
|
2940
|
-
feedId_id: 'feedId4',
|
|
2941
|
-
feedId: feed.feedId
|
|
2942
|
-
}
|
|
2943
|
-
}
|
|
2944
|
-
else if (!document.getElementById('video5').name) {
|
|
2945
|
-
config_param = {
|
|
2946
|
-
subscribe_video_id: 'video5',
|
|
2947
|
-
subscribe_audio_id: 'audio5',
|
|
2948
|
-
subscribe_streamId_id: 'subscribe_streamId5',
|
|
2949
|
-
feedId_id: 'feedId5',
|
|
2950
|
-
feedId: feed.feedId
|
|
2951
|
-
}
|
|
2952
|
-
}
|
|
2953
|
-
else if (!document.getElementById('video6').name) {
|
|
2954
|
-
config_param = {
|
|
2955
|
-
subscribe_video_id: 'video6',
|
|
2956
|
-
subscribe_audio_id: 'audio6',
|
|
2957
|
-
subscribe_streamId_id: 'subscribe_streamId6',
|
|
2958
|
-
feedId_id: 'feedId6',
|
|
2959
|
-
feedId: feed.feedId
|
|
2960
|
-
}
|
|
2961
|
-
}
|
|
2962
|
-
else if (!document.getElementById('video7').name) {
|
|
2963
|
-
config_param = {
|
|
2964
|
-
subscribe_video_id: 'video7',
|
|
2965
|
-
subscribe_audio_id: 'audio7',
|
|
2966
|
-
subscribe_streamId_id: 'subscribe_streamId7',
|
|
2967
|
-
feedId_id: 'feedId7',
|
|
2968
|
-
feedId: feed.feedId
|
|
2969
|
-
}
|
|
2970
|
-
}
|
|
2971
|
-
else if (!document.getElementById('video8').name) {
|
|
2972
|
-
config_param = {
|
|
2973
|
-
subscribe_video_id: 'video8',
|
|
2974
|
-
subscribe_audio_id: 'audio8',
|
|
2975
|
-
subscribe_streamId_id: 'subscribe_streamId8',
|
|
2976
|
-
feedId_id: 'feedId8',
|
|
2977
|
-
feedId: feed.feedId
|
|
2978
|
-
}
|
|
2979
|
-
}
|
|
2980
|
-
else if (!document.getElementById('video9').name) {
|
|
2981
|
-
config_param = {
|
|
2982
|
-
subscribe_video_id: 'video9',
|
|
2983
|
-
subscribe_audio_id: 'audio9',
|
|
2984
|
-
subscribe_streamId_id: 'subscribe_streamId9',
|
|
2985
|
-
feedId_id: 'feedId9',
|
|
2986
|
-
feedId: feed.feedId
|
|
2987
|
-
}
|
|
2988
|
-
}
|
|
2989
|
-
else if (!document.getElementById('video10').name) {
|
|
2990
|
-
config_param = {
|
|
2991
|
-
subscribe_video_id: 'video10',
|
|
2992
|
-
subscribe_audio_id: 'audio10',
|
|
2993
|
-
subscribe_streamId_id: 'subscribe_streamId10',
|
|
2994
|
-
feedId_id: 'feedId10',
|
|
2995
|
-
feedId: feed.feedId
|
|
2996
|
-
}
|
|
2089
|
+
} else if (feed.tag == 'projectionWhiteboard') {
|
|
2090
|
+
config_param = {
|
|
2091
|
+
subscribe_video_id: 'video20',
|
|
2092
|
+
subscribe_audio_id: 'audio20',
|
|
2093
|
+
subscribe_streamId_id: 'subscribe_streamId20',
|
|
2094
|
+
feedId_id: 'feedId20',
|
|
2095
|
+
feedId: feed.feedId
|
|
2997
2096
|
}
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
2097
|
+
|
|
2098
|
+
this.tabTitlesClick(
|
|
2099
|
+
{
|
|
2100
|
+
value: 'staffScreen',
|
|
2101
|
+
name: 'internal staff 投屏'
|
|
2102
|
+
}, 'add'
|
|
2103
|
+
)
|
|
2104
|
+
if (config_param !== undefined) {
|
|
2105
|
+
config_param.need_volume_analyser = false
|
|
2106
|
+
console.log(config_param)
|
|
2107
|
+
this.test_controller.Subscribe(config_param)
|
|
2108
|
+
|
|
3006
2109
|
}
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
2110
|
+
} else {
|
|
2111
|
+
for (let i=1;i<=12;i++){
|
|
2112
|
+
if(!document.getElementById('video'+i).name) {
|
|
2113
|
+
config_param = {
|
|
2114
|
+
subscribe_video_id: 'video'+i,
|
|
2115
|
+
subscribe_audio_id: 'audio'+i,
|
|
2116
|
+
subscribe_streamId_id: 'subscribe_streamId'+i,
|
|
2117
|
+
feedId_id: 'feedId'+i,
|
|
2118
|
+
feedId: feed.feedId
|
|
2119
|
+
}
|
|
2120
|
+
break;
|
|
2121
|
+
}
|
|
3015
2122
|
}
|
|
3016
2123
|
if (config_param !== undefined) {
|
|
3017
2124
|
config_param.need_volume_analyser = true
|
|
@@ -3069,127 +2176,34 @@ class Video extends Component {
|
|
|
3069
2176
|
}
|
|
3070
2177
|
}
|
|
3071
2178
|
})
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
}
|
|
3089
|
-
this.videoListClick()
|
|
3090
|
-
})
|
|
3091
|
-
}
|
|
3092
|
-
if (!document.getElementById("video3").name) {
|
|
3093
|
-
this.state.isPIBIntranet[2].type = false
|
|
3094
|
-
this.setState({
|
|
3095
|
-
videoThreeName: '',
|
|
3096
|
-
voiceVideoThree: false,
|
|
3097
|
-
noVideoThree: false
|
|
3098
|
-
},()=>{
|
|
3099
|
-
this.videoListClick()
|
|
3100
|
-
})
|
|
3101
|
-
}
|
|
3102
|
-
if (!document.getElementById("video4").name) {
|
|
3103
|
-
this.state.isPIBIntranet[3].type = false
|
|
3104
|
-
this.setState({
|
|
3105
|
-
videoFourName: '',
|
|
3106
|
-
voiceVideoFour: false,
|
|
3107
|
-
noVideoFour: false
|
|
3108
|
-
},()=>{
|
|
3109
|
-
this.videoListClick()
|
|
3110
|
-
})
|
|
3111
|
-
}
|
|
3112
|
-
if (!document.getElementById("video5").name) {
|
|
3113
|
-
this.state.isPIBIntranet[4].type = false
|
|
3114
|
-
this.setState({
|
|
3115
|
-
videoFiveName: '',
|
|
3116
|
-
voiceVideoFive: false,
|
|
3117
|
-
noVideoFive: false
|
|
3118
|
-
},()=>{
|
|
3119
|
-
this.videoListClick()
|
|
3120
|
-
})
|
|
3121
|
-
}
|
|
3122
|
-
if (!document.getElementById("video6").name) {
|
|
3123
|
-
this.state.isPIBIntranet[5].type = false
|
|
3124
|
-
this.setState({
|
|
3125
|
-
videoSixName: '',
|
|
3126
|
-
voiceVideoSix: false,
|
|
3127
|
-
noVideoSix: false
|
|
3128
|
-
},()=>{
|
|
3129
|
-
this.videoListClick()
|
|
3130
|
-
})
|
|
3131
|
-
}
|
|
3132
|
-
|
|
3133
|
-
if (!document.getElementById("video7").name) {
|
|
3134
|
-
this.state.isPIBIntranet[6].type = false
|
|
3135
|
-
this.setState({
|
|
3136
|
-
videoSevenName: '',
|
|
3137
|
-
voiceVideoSeven: false,
|
|
3138
|
-
noVideoSeven: false
|
|
3139
|
-
},()=>{
|
|
3140
|
-
this.videoListClick()
|
|
3141
|
-
})
|
|
3142
|
-
}
|
|
3143
|
-
if (!document.getElementById("video8").name) {
|
|
3144
|
-
this.state.isPIBIntranet[7].type = false
|
|
3145
|
-
this.setState({
|
|
3146
|
-
videoEightName: '',
|
|
3147
|
-
voiceVideoEight: false,
|
|
3148
|
-
noVideoEight: false
|
|
3149
|
-
},()=>{
|
|
3150
|
-
this.videoListClick()
|
|
3151
|
-
})
|
|
3152
|
-
}
|
|
3153
|
-
if (!document.getElementById("video9").name) {
|
|
3154
|
-
this.state.isPIBIntranet[8].type = false
|
|
3155
|
-
this.setState({
|
|
3156
|
-
videoNineName: '',
|
|
3157
|
-
voiceVideoNine: false,
|
|
3158
|
-
noVideoNine: false
|
|
3159
|
-
},()=>{
|
|
3160
|
-
this.videoListClick()
|
|
3161
|
-
})
|
|
3162
|
-
}
|
|
3163
|
-
if (!document.getElementById("video10").name) {
|
|
3164
|
-
this.state.isPIBIntranet[9].type = false
|
|
3165
|
-
this.setState({
|
|
3166
|
-
videoTenName: '',
|
|
3167
|
-
voiceVideoTen: false,
|
|
3168
|
-
noVideoTen: false
|
|
3169
|
-
},()=>{
|
|
3170
|
-
this.videoListClick()
|
|
3171
|
-
})
|
|
3172
|
-
}
|
|
3173
|
-
if (!document.getElementById("video11").name) {
|
|
3174
|
-
this.state.isPIBIntranet[10].type = false
|
|
3175
|
-
this.setState({
|
|
3176
|
-
videoElevenName: '',
|
|
3177
|
-
voiceVideoEleven: false,
|
|
3178
|
-
noVideoEleven: false
|
|
3179
|
-
},()=>{
|
|
3180
|
-
this.videoListClick()
|
|
3181
|
-
})
|
|
3182
|
-
}
|
|
3183
|
-
if (!document.getElementById("video12").name) {
|
|
3184
|
-
this.state.isPIBIntranet[11].type = false
|
|
3185
|
-
this.setState({
|
|
3186
|
-
videoTwelveName: '',
|
|
3187
|
-
voiceVideoTwelve: false,
|
|
3188
|
-
noVideoTwelve: false
|
|
3189
|
-
},()=>{
|
|
3190
|
-
this.videoListClick()
|
|
3191
|
-
})
|
|
2179
|
+
for(let i=1;i<=12;i++){
|
|
2180
|
+
if(!document.getElementById("video"+i).name) {
|
|
2181
|
+
this.state.videoList[i-1]= {
|
|
2182
|
+
...this.state.videoList[i-1],
|
|
2183
|
+
videoName: '',
|
|
2184
|
+
mute: false,
|
|
2185
|
+
noVideo: false,
|
|
2186
|
+
isPIBIntranet: false,
|
|
2187
|
+
userSide: '',
|
|
2188
|
+
userType: '',
|
|
2189
|
+
userId: '',
|
|
2190
|
+
hasOcr: 0,
|
|
2191
|
+
}
|
|
2192
|
+
this.setState({
|
|
2193
|
+
videoList: this.state.videoList
|
|
2194
|
+
})
|
|
2195
|
+
}
|
|
3192
2196
|
}
|
|
2197
|
+
// if (!document.getElementById("video1").name) {
|
|
2198
|
+
// this.state.isPIBIntranet[0].type = false
|
|
2199
|
+
// this.setState({
|
|
2200
|
+
// videoOneName: '',
|
|
2201
|
+
// voiceVideoOne: false,
|
|
2202
|
+
// noVideoOne: false
|
|
2203
|
+
// },()=>{
|
|
2204
|
+
// this.videoListClick()
|
|
2205
|
+
// })
|
|
2206
|
+
// }
|
|
3193
2207
|
this.state.analyserData.delete(sid)
|
|
3194
2208
|
if (this.state.isPictureInPicture) {
|
|
3195
2209
|
this.pictureInPicture('Refresh')
|
|
@@ -3889,7 +2903,21 @@ class Video extends Component {
|
|
|
3889
2903
|
}
|
|
3890
2904
|
}
|
|
3891
2905
|
componentWillMount() {
|
|
3892
|
-
console.log('hsbc_teller_sdk', '1.9.
|
|
2906
|
+
console.log('hsbc_teller_sdk', '1.9.15')
|
|
2907
|
+
let arr = []
|
|
2908
|
+
for(let i=1;i<=12;i++){
|
|
2909
|
+
arr.push({
|
|
2910
|
+
videoName: '',
|
|
2911
|
+
mute: false,
|
|
2912
|
+
noVideo: false,
|
|
2913
|
+
isPIBIntranet: false,
|
|
2914
|
+
idIndex: i,
|
|
2915
|
+
hasOcr: 0,
|
|
2916
|
+
})
|
|
2917
|
+
}
|
|
2918
|
+
this.setState({
|
|
2919
|
+
videoList: arr
|
|
2920
|
+
})
|
|
3893
2921
|
if (this.props.sessionId) {
|
|
3894
2922
|
this.getRoomStatus({
|
|
3895
2923
|
sessionId: this.props.sessionId
|
|
@@ -4327,6 +3355,12 @@ class Video extends Component {
|
|
|
4327
3355
|
console.log('confirmCallback', result)
|
|
4328
3356
|
if (result.code == 200) {
|
|
4329
3357
|
// console.log(data)
|
|
3358
|
+
let item = this.state.videoList.find(el => el.userId == this.state.faceCustomerUid )
|
|
3359
|
+
item.hasOcr = 1; // 非身份证ocr
|
|
3360
|
+
// this.setState({
|
|
3361
|
+
// videoList: this.state.videoList
|
|
3362
|
+
// })
|
|
3363
|
+
this.videoListSort();
|
|
4330
3364
|
} else {
|
|
4331
3365
|
console.log('1')
|
|
4332
3366
|
this.messageClick('保持信息失败', 'error')
|
|
@@ -4574,6 +3608,12 @@ class Video extends Component {
|
|
|
4574
3608
|
console.log('confirmCallback', result)
|
|
4575
3609
|
if (result.code == 200) {
|
|
4576
3610
|
// console.log(data)
|
|
3611
|
+
let item = this.state.videoList.find(el => el.userId == this.state.faceCustomerUid )
|
|
3612
|
+
item.hasOcr = 2; // 身份证ocr
|
|
3613
|
+
// this.setState({
|
|
3614
|
+
// videoList: this.state.videoList
|
|
3615
|
+
// })
|
|
3616
|
+
this.videoListSort();
|
|
4577
3617
|
} else {
|
|
4578
3618
|
console.log('1')
|
|
4579
3619
|
this.messageClick('保持信息失败', 'error')
|
|
@@ -4866,38 +3906,10 @@ class Video extends Component {
|
|
|
4866
3906
|
console.log(sid)
|
|
4867
3907
|
let userId = ''
|
|
4868
3908
|
let index
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
userId = this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId2").innerText).uid
|
|
4874
|
-
} if (document.getElementById('video3').name == sid) {
|
|
4875
|
-
userId = this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId3").innerText).uid
|
|
4876
|
-
} if (document.getElementById('video4').name == sid) {
|
|
4877
|
-
userId = this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId4").innerText).uid
|
|
4878
|
-
} if (document.getElementById('video5').name == sid) {
|
|
4879
|
-
userId = this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId5").innerText).uid
|
|
4880
|
-
} if (document.getElementById('video6').name == sid) {
|
|
4881
|
-
userId = this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId6").innerText).uid
|
|
4882
|
-
}
|
|
4883
|
-
|
|
4884
|
-
if (document.getElementById('video7').name == sid) {
|
|
4885
|
-
userId = this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId7").innerText).uid
|
|
4886
|
-
}
|
|
4887
|
-
if (document.getElementById('video8').name == sid) {
|
|
4888
|
-
userId = this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId8").innerText).uid
|
|
4889
|
-
}
|
|
4890
|
-
if (document.getElementById('video9').name == sid) {
|
|
4891
|
-
userId = this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId9").innerText).uid
|
|
4892
|
-
}
|
|
4893
|
-
if (document.getElementById('video10').name == sid) {
|
|
4894
|
-
userId = this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId10").innerText).uid
|
|
4895
|
-
}
|
|
4896
|
-
if (document.getElementById('video11').name == sid) {
|
|
4897
|
-
userId = this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId11").innerText).uid
|
|
4898
|
-
}
|
|
4899
|
-
if (document.getElementById('video12').name == sid) {
|
|
4900
|
-
userId = this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId12").innerText).uid
|
|
3909
|
+
for (let i =1;i<=12;i++){
|
|
3910
|
+
if(document.getElementById('video'+ i) && document.getElementById('video'+ i).name == sid && document.getElementById("feedId"+i).innerText){
|
|
3911
|
+
userId = this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId"+i).innerText).uid
|
|
3912
|
+
}
|
|
4901
3913
|
}
|
|
4902
3914
|
if (document.getElementById('publish_video1').name == sid) {
|
|
4903
3915
|
userId = this.props.tellerAccount
|
|
@@ -4905,7 +3917,8 @@ class Video extends Component {
|
|
|
4905
3917
|
try {
|
|
4906
3918
|
let result = await API.appGetUsername({
|
|
4907
3919
|
userId: userId,
|
|
4908
|
-
sessionId: this.state.sessionId
|
|
3920
|
+
sessionId: this.state.sessionId,
|
|
3921
|
+
activityId: this.props.businessNumber
|
|
4909
3922
|
});
|
|
4910
3923
|
console.log(result)
|
|
4911
3924
|
let data
|
|
@@ -4933,117 +3946,28 @@ class Video extends Component {
|
|
|
4933
3946
|
this.setState({
|
|
4934
3947
|
titleNameRm: data
|
|
4935
3948
|
})
|
|
4936
|
-
}
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
videoTwoName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId2").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户2'
|
|
4953
|
-
},()=>{
|
|
4954
|
-
this.videoListClick()
|
|
4955
|
-
})
|
|
4956
|
-
} if (document.getElementById('video3').name == sid) {
|
|
4957
|
-
if ((typeIntranet && typeIntranet == 2) || (userSide && userSide == 2)) {
|
|
4958
|
-
this.state.isPIBIntranet[2].type = true
|
|
4959
|
-
}
|
|
4960
|
-
this.setState({
|
|
4961
|
-
videoThreeName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId3").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户3'
|
|
4962
|
-
},()=>{
|
|
4963
|
-
this.videoListClick()
|
|
4964
|
-
})
|
|
4965
|
-
} if (document.getElementById('video4').name == sid) {
|
|
4966
|
-
if ((typeIntranet && typeIntranet == 2) || (userSide && userSide == 2)) {
|
|
4967
|
-
this.state.isPIBIntranet[3].type = true
|
|
4968
|
-
}
|
|
4969
|
-
this.setState({
|
|
4970
|
-
videoFourName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId4").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户4'
|
|
4971
|
-
},()=>{
|
|
4972
|
-
this.videoListClick()
|
|
4973
|
-
})
|
|
4974
|
-
} if (document.getElementById('video5').name == sid) {
|
|
4975
|
-
if ((typeIntranet && typeIntranet == 2) || (userSide && userSide == 2)) {
|
|
4976
|
-
this.state.isPIBIntranet[4].type = true
|
|
4977
|
-
}
|
|
4978
|
-
this.setState({
|
|
4979
|
-
videoFiveName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId5").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户5'
|
|
4980
|
-
},()=>{
|
|
4981
|
-
this.videoListClick()
|
|
4982
|
-
})
|
|
4983
|
-
} if (document.getElementById('video6').name == sid) {
|
|
4984
|
-
if ((typeIntranet && typeIntranet == 2) || (userSide && userSide == 2)) {
|
|
4985
|
-
this.state.isPIBIntranet[5].type = true
|
|
4986
|
-
}
|
|
4987
|
-
this.setState({
|
|
4988
|
-
videoSixName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId6").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户6'
|
|
4989
|
-
},()=>{
|
|
4990
|
-
this.videoListClick()
|
|
4991
|
-
})
|
|
4992
|
-
}
|
|
4993
|
-
if (document.getElementById('video7').name == sid) {
|
|
4994
|
-
if ((typeIntranet && typeIntranet == 2) || (userSide && userSide == 2)) {
|
|
4995
|
-
this.state.isPIBIntranet[6].type = true
|
|
4996
|
-
}
|
|
4997
|
-
this.setState({
|
|
4998
|
-
videoSevenName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId7").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户7'
|
|
4999
|
-
},()=>{
|
|
5000
|
-
this.videoListClick()
|
|
5001
|
-
})
|
|
5002
|
-
} if (document.getElementById('video8').name == sid) {
|
|
5003
|
-
if ((typeIntranet && typeIntranet == 2) || (userSide && userSide == 2)) {
|
|
5004
|
-
this.state.isPIBIntranet[7].type = true
|
|
5005
|
-
}
|
|
5006
|
-
this.setState({
|
|
5007
|
-
videoEightName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId8").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户8'
|
|
5008
|
-
},()=>{
|
|
5009
|
-
this.videoListClick()
|
|
5010
|
-
})
|
|
5011
|
-
} if (document.getElementById('video9').name == sid) {
|
|
5012
|
-
if ((typeIntranet && typeIntranet == 2) || (userSide && userSide == 2)) {
|
|
5013
|
-
this.state.isPIBIntranet[8].type = true
|
|
5014
|
-
}
|
|
5015
|
-
this.setState({
|
|
5016
|
-
videoNineName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId9").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户9'
|
|
5017
|
-
},()=>{
|
|
5018
|
-
this.videoListClick()
|
|
5019
|
-
})
|
|
5020
|
-
} if (document.getElementById('video10').name == sid) {
|
|
5021
|
-
if ((typeIntranet && typeIntranet == 2) || (userSide && userSide == 2)) {
|
|
5022
|
-
this.state.isPIBIntranet[9].type = true
|
|
5023
|
-
}
|
|
5024
|
-
this.setState({
|
|
5025
|
-
videoTenName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId10").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户10'
|
|
5026
|
-
},()=>{
|
|
5027
|
-
this.videoListClick()
|
|
5028
|
-
})
|
|
5029
|
-
} if (document.getElementById('video11').name == sid) {
|
|
5030
|
-
if ((typeIntranet && typeIntranet == 2) || (userSide && userSide == 2)) {
|
|
5031
|
-
this.state.isPIBIntranet[10].type = true
|
|
5032
|
-
}
|
|
5033
|
-
this.setState({
|
|
5034
|
-
videoElevenName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId11").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户11'
|
|
5035
|
-
},()=>{
|
|
5036
|
-
this.videoListClick()
|
|
5037
|
-
})
|
|
5038
|
-
} if (document.getElementById('video12').name == sid) {
|
|
5039
|
-
if ((typeIntranet && typeIntranet == 2) || (userSide && userSide == 2)) {
|
|
5040
|
-
this.state.isPIBIntranet[11].type = true
|
|
3949
|
+
} else {
|
|
3950
|
+
for (let i =1;i<=12;i++){
|
|
3951
|
+
if(document.getElementById('video'+i).name == sid){
|
|
3952
|
+
|
|
3953
|
+
if ((typeIntranet && typeIntranet == 2) && (userSide && userSide == 2)) {
|
|
3954
|
+
// this.state.isPIBIntranet[0].type = true
|
|
3955
|
+
this.state.videoList[i-1].isPIBIntranet = true
|
|
3956
|
+
}
|
|
3957
|
+
if (result.data.idCardNumber && result.data.certificateType) {
|
|
3958
|
+
this.state.videoList[i-1].hasOcr = result.data.certificateType.includes('ID_CARD') ? 2 : 1
|
|
3959
|
+
}
|
|
3960
|
+
this.state.videoList[i-1].userId = userId
|
|
3961
|
+
this.state.videoList[i-1].videoName = data
|
|
3962
|
+
this.state.videoList[i-1].userSide = userSide
|
|
3963
|
+
this.state.videoList[i-1].userType = typeIntranet
|
|
3964
|
+
}
|
|
5041
3965
|
}
|
|
5042
3966
|
this.setState({
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
this.videoListClick()
|
|
3967
|
+
videoList: this.state.videoList
|
|
3968
|
+
// videoOneName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId"+i).innerText).tag == 'tag1' ? '坐席' : data ? data : ('客户'+i)
|
|
5046
3969
|
})
|
|
3970
|
+
this.videoListSort();
|
|
5047
3971
|
}
|
|
5048
3972
|
if (this.state.isPictureInPicture) {
|
|
5049
3973
|
this.pictureInPicture('Refresh')
|
|
@@ -5710,7 +4634,7 @@ class Video extends Component {
|
|
|
5710
4634
|
'title': '为了有效确认客户身份,请您配合汇丰银行(中国)有限公司(”我行”)进行身份识别和核验。请您阅读以下内容。若您同意,请您之后在摄像头前出示您的身份证件,我行将对您的身份证件拍照并采集证件信息;同时,我行会对您进行脸部拍照,采集您的脸部图像。',
|
|
5711
4635
|
'title_en': 'In order to confirm client’s identify, please cooperate with HSBC (China) Co., Ltd. (“the bank”) for identity verification. Please read the following and provide your authorization to the bank to capture your ID image and information, take picture of your face and retain them for identification and verification purpose.',
|
|
5712
4636
|
'navBarTitle': '客户授权',
|
|
5713
|
-
'navBarTitle_en': '
|
|
4637
|
+
'navBarTitle_en': 'Customer Authorization',
|
|
5714
4638
|
'list': [
|
|
5715
4639
|
{
|
|
5716
4640
|
'id': 1,
|
|
@@ -5726,7 +4650,7 @@ class Video extends Component {
|
|
|
5726
4650
|
'id': 3,
|
|
5727
4651
|
'content': '本人同意使用电子签名方式签署作为陪同者所需签署的文件,并授权汇丰银行(中国)有限公司(“汇丰中国”)通过电子签名服务供应商向第三方认证机构提供本人的姓名和身份证件号码,用以申请本人专属的数字证书,本人在电子设备上签署文件即表明本人指示汇丰中国使用本人专属电子证书对该等文件进行电子签名。本人知悉并同意,电子签名和手写签名具有同等法律效力。 \n说明:电子签名服务供应商和第三方认证机构的名称和联系方式如下:' +
|
|
5728
4652
|
'\n电子签名服务供应商:杭州尚尚签网络科技有限公司(联系电话:4009936665)\n第三方认证机构: \n北京天威诚信电子商务服务有限公司(联系电话:010-50947500)\n中金金融认证中心有限公司(联系电话:010-83526655)',
|
|
5729
|
-
'content_en': 'To sign in the relevant document required as companion, do you agree to adopt electronic signature in it
|
|
4653
|
+
'content_en': 'To sign in the relevant document required as companion, do you agree to adopt electronic signature in it? And you shall authorize HSBC (China) Co., Ltd to provide your name and identity document number to the certificate authority through the electronic signature service provider to apply for your own digital certificate. By signing the document on the electronic device, you authorize HSBC (China) Co., Ltd to use your digital certificate and apply your electronic signature to the documents. You understand and agree that electronic signature has the same legal effect as handwritten signature.' +
|
|
5730
4654
|
'\nPlease be noted the names and contact information of the electronic signature service provider and the certificate authority are as follows:\nElectronic signature service provider: Hangzhou BestSign Network Technology Co. Ltd. (Contact: 4009936665) \nCertificate Authority: \nChina Financial Certification Authority (Contact: 010-83526655)\niTrusChina Co., Ltd (Contact: 010-50947500)'
|
|
5731
4655
|
}
|
|
5732
4656
|
]
|
|
@@ -5742,7 +4666,7 @@ class Video extends Component {
|
|
|
5742
4666
|
'title': '为了有效确认客户身份,请您配合汇丰银行(中国)有限公司(“我行”)进行身份识别。请您阅读以下内容,若您同意,请您之后在摄像头前出示您的身份证件,我行将对您的身份证件拍照并采集证件信息;',
|
|
5743
4667
|
'title_en': 'In order to confirm client’s identify, please cooperate with HSBC (China) Co., Ltd. (“the bank”) for identity verification. Please read the following and provide your authorization to the bank to capture your ID image and information and retain them for identification and verification purpose. ',
|
|
5744
4668
|
'navBarTitle': '客户授权',
|
|
5745
|
-
'navBarTitle_en': '
|
|
4669
|
+
'navBarTitle_en': 'Customer Authorization',
|
|
5746
4670
|
'list': [
|
|
5747
4671
|
{
|
|
5748
4672
|
'id': 1,
|
|
@@ -5753,7 +4677,7 @@ class Video extends Component {
|
|
|
5753
4677
|
'id': 2,
|
|
5754
4678
|
'content': '对于陪同者所需签署的文件,您是否同意使用电子签名方式签署,并授权汇丰银行(中国)有限公司(“汇丰中国”)通过电子签名服务供应商向第三方认证机构提供您本人的姓名和身份证件号码,用以申请您本人专属的数字证书?您本人在电子设备上签署文件即表明您本人指示汇丰中国使用您本人专属电子证书对该等文件进行电子签名。您本人知悉并同意,电子签名和手写签名具有同等法律效力。 \n说明:电子签名服务供应商和第三方认证机构的名称和联系方式如下:' +
|
|
5755
4679
|
'\n电子签名服务供应商:杭州尚尚签网络科技有限公司(联系电话:4009936665)\n第三方认证机构: \n北京天威诚信电子商务服务有限公司(联系电话:010-50947500)\n中金金融认证中心有限公司(联系电话:010-83526655)',
|
|
5756
|
-
'content_en': 'To sign in the relevant document required as companion, do you agree to adopt electronic signature in it
|
|
4680
|
+
'content_en': 'To sign in the relevant document required as companion, do you agree to adopt electronic signature in it? And you shall authorize HSBC (China) Co., Ltd to provide your name and identity document number to the certificate authority through the electronic signature service provider to apply for your own digital certificate. By signing the document on the electronic device, you authorize HSBC (China) Co., Ltd to use your digital certificate and apply your electronic signature to the documents. You understand and agree that electronic signature has the same legal effect as handwritten signature.' +
|
|
5757
4681
|
'\nPlease be noted the names and contact information of the electronic signature service provider and the certificate authority are as follows:\nElectronic signature service provider: Hangzhou BestSign Network Technology Co. Ltd. (Contact: 4009936665) \nCertificate Authority: \nChina Financial Certification Authority (Contact: 010-83526655)\niTrusChina Co., Ltd (Contact: 010-50947500)'
|
|
5758
4682
|
}
|
|
5759
4683
|
]
|
|
@@ -5826,6 +4750,53 @@ class Video extends Component {
|
|
|
5826
4750
|
console.log(err)
|
|
5827
4751
|
}
|
|
5828
4752
|
}
|
|
4753
|
+
// 视频窗口排序
|
|
4754
|
+
videoListSort = () => {
|
|
4755
|
+
console.log(this.state.videoList)
|
|
4756
|
+
let list = [...this.state.videoList]
|
|
4757
|
+
list.sort((a, b)=>{
|
|
4758
|
+
// 判断是否有客户
|
|
4759
|
+
if (!b.videoName && a.videoName){
|
|
4760
|
+
return -1
|
|
4761
|
+
}
|
|
4762
|
+
if (!a.videoName && b.videoName){
|
|
4763
|
+
return 1
|
|
4764
|
+
}
|
|
4765
|
+
// 判断是否是坐席
|
|
4766
|
+
// if (a.isTeller != b.isTeller) {
|
|
4767
|
+
// return a.isTeller ? -1 : 1
|
|
4768
|
+
// }
|
|
4769
|
+
// 判断是否是内网pib
|
|
4770
|
+
if (a.isPIBIntranet != b.isPIBIntranet){
|
|
4771
|
+
return !a.isPIBIntranet ? -1 : 1
|
|
4772
|
+
}
|
|
4773
|
+
|
|
4774
|
+
// 判断行内或行外客户
|
|
4775
|
+
if (a.userSide != b.userSide){
|
|
4776
|
+
return a.userSide == 2 ? -1 : 1
|
|
4777
|
+
}
|
|
4778
|
+
|
|
4779
|
+
// 判断行外客户是否做过ocr
|
|
4780
|
+
if (a.hasOcr != b.hasOcr) {
|
|
4781
|
+
return (b.hasOcr || 0) - (a.hasOcr || 0)
|
|
4782
|
+
}
|
|
4783
|
+
|
|
4784
|
+
return a.idIndex - b.idIndex;
|
|
4785
|
+
})
|
|
4786
|
+
console.log('排序后list');
|
|
4787
|
+
console.log(list);
|
|
4788
|
+
for(let i=0;i<12;i++){
|
|
4789
|
+
for(let j=0;j<12;j++){
|
|
4790
|
+
if (list[j].videoName == this.state.videoList[i].videoName) {
|
|
4791
|
+
this.state.videoList[i].order = j
|
|
4792
|
+
}
|
|
4793
|
+
}
|
|
4794
|
+
}
|
|
4795
|
+
// console.log(this.state.videoList)
|
|
4796
|
+
this.setState({
|
|
4797
|
+
videoList: this.state.videoList
|
|
4798
|
+
})
|
|
4799
|
+
}
|
|
5829
4800
|
videoListClick=()=>{
|
|
5830
4801
|
// console.log(Math.trunc(document.getElementById("videoList").getBoundingClientRect().height),document.getElementById("videoList").scrollHeight)
|
|
5831
4802
|
// if(Math.trunc(document.getElementById("videoList").getBoundingClientRect().height) >= document.getElementById("videoList").scrollHeight && this.state.isVideoList) {
|
|
@@ -6076,365 +5047,71 @@ class Video extends Component {
|
|
|
6076
5047
|
</div>
|
|
6077
5048
|
|
|
6078
5049
|
</div>
|
|
6079
|
-
<div
|
|
6080
|
-
|
|
6081
|
-
style={{ position: "relative", display: (this.state.videoOneName) ? '' : 'none' }}
|
|
5050
|
+
{/* <div className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`}
|
|
5051
|
+
style={{ position: "relative", display: (this.state.videoList[0].videoName) ? '' : 'none' }}
|
|
6082
5052
|
>
|
|
6083
|
-
{
|
|
6084
|
-
this.state.customAudioed && <img
|
|
6085
|
-
alt=""
|
|
6086
|
-
src={require("../../assets/img/yingpin.png").default}
|
|
6087
|
-
style={{ width: "100%", height: "100%", }}
|
|
6088
|
-
></img>
|
|
6089
|
-
}
|
|
6090
5053
|
<div className="video1Div">
|
|
6091
5054
|
<video
|
|
6092
5055
|
id="video1"
|
|
6093
5056
|
autoPlay
|
|
6094
5057
|
muted={true}
|
|
6095
5058
|
disablePictureInPicture
|
|
6096
|
-
className={`video1 ${this.state.
|
|
5059
|
+
className={`video1 ${this.state.videoList[0].noVideo ? 'isNoVideo' : ''}`}
|
|
6097
5060
|
/>
|
|
6098
5061
|
<audio id="audio1" autoPlay />
|
|
6099
5062
|
<label style={{ display: 'none' }} id="feedId1" type="text" />
|
|
6100
5063
|
|
|
6101
|
-
<div style={{ display: (this.state.
|
|
5064
|
+
<div style={{ display: (this.state.videoList[0].videoName) ? '' : 'none' }} className={`customerTitle titleSamlle`}>
|
|
6102
5065
|
<div onClick={this.muteOpposite.bind(this, 'video1')}>
|
|
6103
5066
|
{
|
|
6104
|
-
this.state.
|
|
5067
|
+
this.state.videoList[0].mute && <img
|
|
6105
5068
|
alt=""
|
|
6106
5069
|
src={require("../../assets/img/jingyin.png").default}
|
|
6107
5070
|
className="imgClassVoice voiceVideoClass"
|
|
6108
5071
|
/>
|
|
6109
5072
|
}
|
|
6110
|
-
<canvas style={{ display: (this.state.
|
|
5073
|
+
<canvas style={{ display: (this.state.videoList[0].videoName && !this.state.videoList[0].mute) ? '' : 'none', width: '25px', height: '25px', marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView1" width="40" height="70"></canvas>
|
|
6111
5074
|
</div>
|
|
6112
5075
|
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
6113
|
-
|
|
5076
|
+
{this.state.videoList[0].videoName}
|
|
6114
5077
|
</div>
|
|
6115
5078
|
|
|
6116
5079
|
|
|
6117
5080
|
</div>
|
|
6118
5081
|
</div>
|
|
6119
|
-
</div>
|
|
6120
|
-
<div className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`} style={{ display: (this.state.videoTwoName) ? '' : 'none', }}>
|
|
6121
|
-
<video
|
|
6122
|
-
id="video2"
|
|
6123
|
-
autoPlay
|
|
6124
|
-
disablePictureInPicture
|
|
6125
|
-
muted={true}
|
|
6126
|
-
className={`video ${this.state.noVideoTwo ? 'isNoVideo' : ''}`}
|
|
6127
|
-
/>
|
|
6128
|
-
<audio id="audio2" autoPlay />
|
|
6129
|
-
<label style={{ display: 'none' }} id="feedId2" type="text" />
|
|
6130
|
-
|
|
6131
|
-
<div style={{ display: (this.state.videoTwoName) ? '' : 'none' }} className={`customerTitle titleSamlle`}>
|
|
6132
|
-
<div onClick={this.muteOpposite.bind(this, 'video2')}>
|
|
6133
|
-
{
|
|
6134
|
-
this.state.voiceVideoTwo && <img
|
|
6135
|
-
alt=""
|
|
6136
|
-
src={require("../../assets/img/jingyin.png").default}
|
|
6137
|
-
className="imgClassVoice voiceVideoClass"
|
|
6138
|
-
/>
|
|
6139
|
-
}
|
|
6140
|
-
<canvas style={{ display: (this.state.videoTwoName && !this.state.voiceVideoTwo) ? '' : 'none', width: '25px', height: '25px', marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView2" width="40" height="70"></canvas>
|
|
6141
|
-
</div>
|
|
6142
|
-
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
6143
|
-
{this.state.videoTwoName}
|
|
6144
|
-
</div>
|
|
6145
|
-
</div>
|
|
6146
|
-
</div>
|
|
6147
|
-
<div className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`}
|
|
6148
|
-
style={{ display: (this.state.videoThreeName) ? '' : 'none' }}>
|
|
6149
|
-
<video
|
|
6150
|
-
id="video3"
|
|
6151
|
-
autoPlay
|
|
6152
|
-
muted={true}
|
|
6153
|
-
disablePictureInPicture
|
|
6154
|
-
className={`video ${this.state.noVideoThree ? 'isNoVideo' : ''}`}
|
|
6155
|
-
/>
|
|
6156
|
-
<audio id="audio3" autoPlay />
|
|
6157
|
-
<label style={{ display: 'none' }} id="feedId3" type="text" />
|
|
6158
|
-
|
|
6159
|
-
<div style={{ display: (this.state.videoThreeName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
|
|
6160
|
-
<div onClick={this.muteOpposite.bind(this, 'video3')}>
|
|
6161
|
-
{
|
|
6162
|
-
this.state.voiceVideoThree && <img
|
|
6163
|
-
alt=""
|
|
6164
|
-
src={require("../../assets/img/jingyin.png").default}
|
|
6165
|
-
className="imgClassVoice voiceVideoClass"
|
|
6166
|
-
/>
|
|
6167
|
-
}
|
|
6168
|
-
<canvas style={{ display: (this.state.videoThreeName && !this.state.voiceVideoThree) ? '' : 'none', width: '25px', height: '25px', marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView3" width="40" height="70"></canvas>
|
|
6169
|
-
</div>
|
|
6170
|
-
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
6171
|
-
{this.state.videoThreeName}
|
|
6172
|
-
</div>
|
|
6173
|
-
</div>
|
|
6174
|
-
</div>
|
|
6175
|
-
<div className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`} style={{ display: (this.state.videoFourName) ? '' : 'none', }}>
|
|
6176
|
-
<video
|
|
6177
|
-
id="video4"
|
|
6178
|
-
autoPlay
|
|
6179
|
-
muted={true}
|
|
6180
|
-
disablePictureInPicture
|
|
6181
|
-
className={`video ${this.state.noVideoFour ? 'isNoVideo' : ''}`}
|
|
6182
|
-
/>
|
|
6183
|
-
<audio id="audio4" autoPlay />
|
|
6184
|
-
<label style={{ display: 'none' }} id="feedId4" type="text" />
|
|
6185
|
-
|
|
6186
|
-
<div style={{ display: (this.state.videoFourName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
|
|
6187
|
-
<div onClick={this.muteOpposite.bind(this, 'video4')}>
|
|
6188
|
-
{
|
|
6189
|
-
this.state.voiceVideoFour && <img
|
|
6190
|
-
alt=""
|
|
6191
|
-
src={require("../../assets/img/jingyin.png").default}
|
|
6192
|
-
className="imgClassVoice voiceVideoClass"
|
|
6193
|
-
/>
|
|
6194
|
-
}
|
|
6195
|
-
<canvas style={{ display: (this.state.videoFourName && !this.state.voiceVideoFour) ? '' : 'none', width: '25px', height: '25px', marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView4" width="40" height="70"></canvas>
|
|
6196
|
-
</div>
|
|
6197
|
-
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
6198
|
-
{this.state.videoFourName}
|
|
6199
|
-
</div>
|
|
6200
|
-
</div>
|
|
6201
|
-
</div>
|
|
6202
|
-
<div className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`}
|
|
6203
|
-
style={{ display: (this.state.videoFiveName) ? '' : 'none' }}>
|
|
6204
|
-
<video
|
|
6205
|
-
id="video5"
|
|
6206
|
-
autoPlay
|
|
6207
|
-
muted={true}
|
|
6208
|
-
disablePictureInPicture
|
|
6209
|
-
className={`video ${this.state.noVideoFive ? 'isNoVideo' : ''}`}
|
|
6210
|
-
/>
|
|
6211
|
-
<audio id="audio5" autoPlay />
|
|
6212
|
-
<label style={{ display: 'none' }} id="feedId5" type="text" />
|
|
6213
|
-
|
|
6214
|
-
<div style={{ display: (this.state.videoFiveName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
|
|
6215
|
-
<div onClick={this.muteOpposite.bind(this, 'video5')}>
|
|
6216
|
-
{
|
|
6217
|
-
this.state.voiceVideoFive && <img
|
|
6218
|
-
alt=""
|
|
6219
|
-
src={require("../../assets/img/jingyin.png").default}
|
|
6220
|
-
className="imgClassVoice voiceVideoClass"
|
|
6221
|
-
/>
|
|
6222
|
-
}
|
|
6223
|
-
<canvas style={{ display: (this.state.videoFiveName && !this.state.voiceVideoFive) ? '' : 'none', width: '25px', height: '25px', marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView5" width="40" height="70"></canvas>
|
|
6224
|
-
</div>
|
|
6225
|
-
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
6226
|
-
{this.state.videoFiveName}
|
|
6227
|
-
</div>
|
|
6228
|
-
</div>
|
|
6229
|
-
</div>
|
|
6230
|
-
<div className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`} style={{ display: (this.state.videoSixName) ? '' : 'none', }}>
|
|
6231
|
-
<video
|
|
6232
|
-
id="video6"
|
|
6233
|
-
autoPlay
|
|
6234
|
-
muted={true}
|
|
6235
|
-
disablePictureInPicture
|
|
6236
|
-
className={`video ${this.state.noVideoSix ? 'isNoVideo' : ''}`}
|
|
6237
|
-
/>
|
|
6238
|
-
<audio id="audio6" autoPlay />
|
|
6239
|
-
<label style={{ display: 'none' }} id="feedId6" type="text" />
|
|
6240
|
-
|
|
6241
|
-
<div style={{ display: (this.state.videoSixName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
|
|
6242
|
-
<div onClick={this.muteOpposite.bind(this, 'video6')}>
|
|
6243
|
-
{
|
|
6244
|
-
this.state.voiceVideoSix && <img
|
|
6245
|
-
alt=""
|
|
6246
|
-
src={require("../../assets/img/jingyin.png").default}
|
|
6247
|
-
className="imgClassVoice voiceVideoClass"
|
|
6248
|
-
/>
|
|
6249
|
-
}
|
|
6250
|
-
<canvas style={{ display: (!this.state.voiceVideoSix) ? '' : 'none', width: '25px', height: '25px', marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView6" width="40" height="70"></canvas>
|
|
6251
|
-
</div>
|
|
6252
|
-
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
6253
|
-
{this.state.videoSixName}
|
|
6254
|
-
</div>
|
|
6255
|
-
</div>
|
|
5082
|
+
</div> */}
|
|
6256
5083
|
|
|
6257
|
-
|
|
6258
|
-
|
|
6259
|
-
|
|
6260
|
-
|
|
6261
|
-
>
|
|
6262
|
-
{
|
|
6263
|
-
this.state.customAudioed && <img
|
|
6264
|
-
alt=""
|
|
6265
|
-
src={require("../../assets/img/yingpin.png").default}
|
|
6266
|
-
style={{ width: "100%", height: "100%", }}
|
|
6267
|
-
></img>
|
|
6268
|
-
}
|
|
6269
|
-
<div className="video1Div" style={{ display: (!this.state.customAudioed) ? '' : 'none', }}>
|
|
5084
|
+
{
|
|
5085
|
+
this.state.videoList.map((item,index)=>{
|
|
5086
|
+
// if (index!=0)
|
|
5087
|
+
return <div key={index} className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`} style={{ display: (item.videoName) ? '' : 'none', 'order': item.order}}>
|
|
6270
5088
|
<video
|
|
6271
|
-
id=
|
|
5089
|
+
id={'video'+(item.idIndex)}
|
|
6272
5090
|
autoPlay
|
|
6273
5091
|
muted={true}
|
|
6274
5092
|
disablePictureInPicture
|
|
6275
|
-
className={`video ${
|
|
5093
|
+
className={`video ${item.noVideo ? 'isNoVideo' : ''}`}
|
|
6276
5094
|
/>
|
|
6277
|
-
<audio id=
|
|
6278
|
-
<label style={{ display: 'none' }} id=
|
|
5095
|
+
<audio id={'audio'+(item.idIndex)} autoPlay />
|
|
5096
|
+
<label style={{ display: 'none' }} id={'feedId'+(item.idIndex)} type="text" />
|
|
5097
|
+
|
|
5098
|
+
<div style={{ display: (item.videoName) ? '' : 'none'}} className={`customerTitle titleSamlle`}>
|
|
5099
|
+
{
|
|
5100
|
+
item.mute && <img
|
|
5101
|
+
alt=""
|
|
5102
|
+
src={require("../../assets/img/jingyin.png").default}
|
|
5103
|
+
className="imgClassVoice voiceVideoClass"
|
|
5104
|
+
/>
|
|
5105
|
+
}
|
|
5106
|
+
<canvas style={{ display: (item.videoName && !item.mute) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id={"subscribe_volumeView"+(item.idIndex)} width="40" height="70"></canvas>
|
|
6279
5107
|
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
{
|
|
6283
|
-
this.state.voiceVideoSeven && <img
|
|
6284
|
-
alt=""
|
|
6285
|
-
src={require("../../assets/img/jingyin.png").default}
|
|
6286
|
-
className="imgClassVoice voiceVideoClass"
|
|
6287
|
-
/>
|
|
6288
|
-
}
|
|
6289
|
-
<canvas style={{ display: (this.state.videoSevenName && !this.state.voiceVideoSeven) ? '' : 'none', width: '25px', height: '25px', marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView7" width="40" height="70"></canvas>
|
|
6290
|
-
</div>
|
|
6291
|
-
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
6292
|
-
{this.state.videoSevenName}
|
|
5108
|
+
<div className='titleName' style={{ color: this.props.titleColor,fontSize: this.props.fontSize + 'px',fontFamily : this.props.fontFamily}}>
|
|
5109
|
+
{item.videoName}
|
|
6293
5110
|
</div>
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
</div>
|
|
6297
|
-
</div>
|
|
6298
|
-
</div>
|
|
6299
|
-
<div className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`} style={{ display: (this.state.videoEightName) ? '' : 'none', }}>
|
|
6300
|
-
<video
|
|
6301
|
-
id="video8"
|
|
6302
|
-
autoPlay
|
|
6303
|
-
muted={true}
|
|
6304
|
-
disablePictureInPicture
|
|
6305
|
-
className={`video ${this.state.noVideoEight ? 'isNoVideo' : ''}`}
|
|
6306
|
-
/>
|
|
6307
|
-
<audio id="audio8" autoPlay />
|
|
6308
|
-
<label style={{ display: 'none' }} id="feedId8" type="text" />
|
|
6309
|
-
|
|
6310
|
-
<div style={{ display: (this.state.videoEightName) ? '' : 'none' }} className={`customerTitle titleSamlle`}>
|
|
6311
|
-
<div onClick={this.muteOpposite.bind(this, 'video8')}>
|
|
6312
|
-
{
|
|
6313
|
-
this.state.voiceVideoEight && <img
|
|
6314
|
-
alt=""
|
|
6315
|
-
src={require("../../assets/img/jingyin.png").default}
|
|
6316
|
-
className="imgClassVoice voiceVideoClass"
|
|
6317
|
-
/>
|
|
6318
|
-
}
|
|
6319
|
-
<canvas style={{ display: (this.state.videoEightName && !this.state.voiceVideoEight) ? '' : 'none', width: '25px', height: '25px', marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView8" width="40" height="70"></canvas>
|
|
6320
|
-
</div>
|
|
6321
|
-
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
6322
|
-
{this.state.videoEightName}
|
|
6323
|
-
</div>
|
|
6324
|
-
</div>
|
|
6325
|
-
</div>
|
|
6326
|
-
<div className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`} style={{ display: (this.state.videoNineName) ? '' : 'none', }}>
|
|
6327
|
-
<video
|
|
6328
|
-
id="video9"
|
|
6329
|
-
autoPlay
|
|
6330
|
-
muted={true}
|
|
6331
|
-
disablePictureInPicture
|
|
6332
|
-
className={`video ${this.state.noVideoNine ? 'isNoVideo' : ''}`}
|
|
6333
|
-
/>
|
|
6334
|
-
<audio id="audio9" autoPlay />
|
|
6335
|
-
<label style={{ display: 'none' }} id="feedId9" type="text" />
|
|
6336
|
-
|
|
6337
|
-
<div style={{ display: (this.state.videoNineName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
|
|
6338
|
-
<div onClick={this.muteOpposite.bind(this, 'video9')}>
|
|
6339
|
-
{
|
|
6340
|
-
this.state.voiceVideoNine && <img
|
|
6341
|
-
alt=""
|
|
6342
|
-
src={require("../../assets/img/jingyin.png").default}
|
|
6343
|
-
className="imgClassVoice voiceVideoClass"
|
|
6344
|
-
/>
|
|
6345
|
-
}
|
|
6346
|
-
<canvas style={{ display: (this.state.videoNineName && !this.state.voiceVideoSix) ? '' : 'none', width: '25px', height: '25px', marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView9" width="40" height="70"></canvas>
|
|
6347
|
-
</div>
|
|
6348
|
-
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
6349
|
-
{this.state.videoNineName}
|
|
6350
|
-
</div>
|
|
6351
|
-
</div>
|
|
6352
|
-
|
|
6353
|
-
</div>
|
|
6354
|
-
<div className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`}
|
|
6355
|
-
style={{ display: (this.state.videoTenName) ? '' : 'none' }}>
|
|
6356
|
-
<video
|
|
6357
|
-
id="video10"
|
|
6358
|
-
autoPlay
|
|
6359
|
-
muted={true}
|
|
6360
|
-
disablePictureInPicture
|
|
6361
|
-
className={`video ${this.state.noVideoTen ? 'isNoVideo' : ''}`}
|
|
6362
|
-
/>
|
|
6363
|
-
<audio id="audio10" autoPlay />
|
|
6364
|
-
<label style={{ display: 'none' }} id="feedId10" type="text" />
|
|
6365
|
-
|
|
6366
|
-
<div style={{ display: (this.state.videoTenName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
|
|
6367
|
-
<div onClick={this.muteOpposite.bind(this, 'video10')}>
|
|
6368
|
-
{
|
|
6369
|
-
this.state.voiceVideoTen && <img
|
|
6370
|
-
alt=""
|
|
6371
|
-
src={require("../../assets/img/jingyin.png").default}
|
|
6372
|
-
className="imgClassVoice voiceVideoClass"
|
|
6373
|
-
/>
|
|
6374
|
-
}
|
|
6375
|
-
<canvas style={{ display: (this.state.videoTenName && !this.state.voiceVideoTen) ? '' : 'none', width: '25px', height: '25px', marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView10" width="40" height="70"></canvas>
|
|
6376
|
-
</div>
|
|
6377
|
-
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
6378
|
-
{this.state.videoTenName}
|
|
6379
5111
|
</div>
|
|
6380
5112
|
</div>
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
<video
|
|
6384
|
-
id="video11"
|
|
6385
|
-
autoPlay
|
|
6386
|
-
muted={true}
|
|
6387
|
-
disablePictureInPicture
|
|
6388
|
-
className={`video ${this.state.noVideoEleven ? 'isNoVideo' : ''}`}
|
|
6389
|
-
/>
|
|
6390
|
-
<audio id="audio11" autoPlay />
|
|
6391
|
-
<label style={{ display: 'none' }} id="feedId11" type="text" />
|
|
6392
|
-
|
|
6393
|
-
<div style={{ display: (this.state.videoElevenName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
|
|
6394
|
-
<div onClick={this.muteOpposite.bind(this, 'video11')}>
|
|
6395
|
-
{
|
|
6396
|
-
this.state.voiceVideoEleven && <img
|
|
6397
|
-
alt=""
|
|
6398
|
-
src={require("../../assets/img/jingyin.png").default}
|
|
6399
|
-
className="imgClassVoice voiceVideoClass"
|
|
6400
|
-
/>
|
|
6401
|
-
}
|
|
6402
|
-
<canvas style={{ display: (this.state.videoElevenName && !this.state.voiceVideoEleven) ? '' : 'none', width: '25px', height: '25px', marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView11" width="40" height="70"></canvas>
|
|
6403
|
-
</div>
|
|
6404
|
-
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
6405
|
-
{this.state.videoElevenName}
|
|
6406
|
-
</div>
|
|
6407
|
-
</div>
|
|
6408
|
-
</div>
|
|
6409
|
-
<div className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`}
|
|
6410
|
-
style={{ display: (this.state.videoTwelveName) ? '' : 'none' }}>
|
|
6411
|
-
<video
|
|
6412
|
-
id="video12"
|
|
6413
|
-
autoPlay
|
|
6414
|
-
muted={true}
|
|
6415
|
-
disablePictureInPicture
|
|
6416
|
-
className={`video ${this.state.noVideoTwelve ? 'isNoVideo' : ''}`}
|
|
6417
|
-
/>
|
|
6418
|
-
<audio id="audio12" autoPlay />
|
|
6419
|
-
<label style={{ display: 'none' }} id="feedId12" type="text" />
|
|
6420
|
-
|
|
6421
|
-
<div style={{ display: (this.state.videoTwelveName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
|
|
6422
|
-
<div onClick={this.muteOpposite.bind(this, 'video12')}>
|
|
6423
|
-
{
|
|
6424
|
-
this.state.voiceVideoTwelve && <img
|
|
6425
|
-
alt=""
|
|
6426
|
-
src={require("../../assets/img/jingyin.png").default}
|
|
6427
|
-
className="imgClassVoice voiceVideoClass"
|
|
6428
|
-
/>
|
|
6429
|
-
}
|
|
6430
|
-
<canvas style={{ display: (this.state.videoTwelveName && !this.state.voiceVideoTwelve) ? '' : 'none', width: '25px', height: '25px', marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView12" width="40" height="70"></canvas>
|
|
6431
|
-
</div>
|
|
6432
|
-
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
6433
|
-
{this.state.videoTwelveName}
|
|
6434
|
-
</div>
|
|
6435
|
-
</div>
|
|
6436
|
-
</div>
|
|
6437
|
-
|
|
5113
|
+
})
|
|
5114
|
+
}
|
|
6438
5115
|
|
|
6439
5116
|
</div>
|
|
6440
5117
|
<img id="icon_huatong" style={{ display: 'none' }} src={require("../../assets/img/icon_huatong.png").default}></img>
|