|
@@ -1654,19 +1654,17 @@ ${JSON.stringify(_list)}
|
|
|
console.log(privSpeakerId);
|
|
|
console.log(privDuration)
|
|
|
console.log(privOffset)
|
|
|
- if (!privText || !privSpeakerId){
|
|
|
+ if (!privText && !privSpeakerId){
|
|
|
console.log(privText,privSpeakerId)
|
|
|
console.log(!privText || !privSpeakerId)
|
|
|
return
|
|
|
};
|
|
|
|
|
|
- _endTime = _this.updateRecordedTime({
|
|
|
- duration: (privOffset + privDuration) / 1000000000
|
|
|
- });
|
|
|
+ _endTime = (privOffset + privDuration) / 1000000000;
|
|
|
textList.push({
|
|
|
value: privText,
|
|
|
startTime: _this.updateRecordedTime({ duration: _startTime }),
|
|
|
- endTime: _endTime,
|
|
|
+ endTime: _this.updateRecordedTime({duration:_endTime}),
|
|
|
time: _this.updateRecordedTime({ duration: _endTime - _startTime }),
|
|
|
role: privSpeakerId
|
|
|
});
|
|
@@ -1704,7 +1702,7 @@ ${JSON.stringify(_list)}
|
|
|
<td>${item.endTime}</td>
|
|
|
<td>${item.value}</td>
|
|
|
<td>${item.time}</td>
|
|
|
- <td>${item.privSpeakerId}</td>
|
|
|
+ <td>${item.role}</td>
|
|
|
<td></td>
|
|
|
</tr>`;
|
|
|
});
|