调整 录制时长 和 超时控制
This commit is contained in:
parent
67a891ada8
commit
c4ebda0713
@ -69,7 +69,7 @@ public class RecordService {
|
||||
scheduledExecutorService.schedule(() -> {
|
||||
log.info("到达超时时间, 结束录制");
|
||||
record.set(false);
|
||||
}, timeout * 2, TimeUnit.SECONDS);
|
||||
}, timeout + 60, TimeUnit.SECONDS);
|
||||
long maxTime = TimeUnit.SECONDS.toMicros(timeout);
|
||||
try {
|
||||
Frame frame;
|
||||
|
Loading…
Reference in New Issue
Block a user