|
@@ -61,7 +61,7 @@ public class TEExamActivityDto implements Serializable {
|
|
|
private String monitorVideoSourceStr;
|
|
|
|
|
|
@ApiModelProperty(name = "监控源集合")
|
|
|
- private List<StreamDto> monitorVideoSource;
|
|
|
+ private List<MonitorStreamDto> monitorVideoSource;
|
|
|
|
|
|
@ApiModelProperty(name = "允许开考开放时长,相当于迟到时间")
|
|
|
private Integer openingSeconds;//允许开考开放时长(分钟),相当于迟到时间
|
|
@@ -196,11 +196,11 @@ public class TEExamActivityDto implements Serializable {
|
|
|
this.entryAuthenticationPolicy = entryAuthenticationPolicy;
|
|
|
if (Objects.nonNull(monitorVideoSource) && !Objects.equals(monitorVideoSource.trim().replaceAll(" ", ""), "")) {
|
|
|
List<String> videoSources = Arrays.asList(monitorVideoSource.trim().toUpperCase().split(","));
|
|
|
- List<StreamDto> streamDtoList = new ArrayList<>();
|
|
|
+ List<MonitorStreamDto> monitorStreamDtoList = new ArrayList<>();
|
|
|
videoSources.forEach(s -> {
|
|
|
- streamDtoList.add(new StreamDto(MonitorVideoSourceEnum.valueOf(s), prefix + "_" + recordId + "_" + MonitorVideoSourceEnum.valueOf(s).name().toLowerCase()));
|
|
|
+ monitorStreamDtoList.add(new MonitorStreamDto(MonitorVideoSourceEnum.valueOf(s), prefix + "_" + recordId + "_" + MonitorVideoSourceEnum.valueOf(s).name().toLowerCase()));
|
|
|
});
|
|
|
- this.setMonitorVideoSource(streamDtoList);
|
|
|
+ this.setMonitorVideoSource(monitorStreamDtoList);
|
|
|
//加入monitorAudioEnable逻辑
|
|
|
if (monitorVideoSource.toUpperCase().contains(MonitorVideoSourceEnum.CLIENT_SCREEN.name()) || monitorVideoSource.toUpperCase().contains(MonitorVideoSourceEnum.CLIENT_CAMERA.name())) {
|
|
|
this.monitorAudioEnable = true;
|
|
@@ -403,11 +403,11 @@ public class TEExamActivityDto implements Serializable {
|
|
|
this.maxFinishTime = maxFinishTime;
|
|
|
}
|
|
|
|
|
|
- public List<StreamDto> getMonitorVideoSource() {
|
|
|
+ public List<MonitorStreamDto> getMonitorVideoSource() {
|
|
|
return monitorVideoSource;
|
|
|
}
|
|
|
|
|
|
- public void setMonitorVideoSource(List<StreamDto> monitorVideoSource) {
|
|
|
+ public void setMonitorVideoSource(List<MonitorStreamDto> monitorVideoSource) {
|
|
|
this.monitorVideoSource = monitorVideoSource;
|
|
|
}
|
|
|
|