Eric 2 years ago
parent
commit
e2af728060
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mec-im/src/main/java/com/ym/service/Impl/LiveRoomServiceImpl.java

+ 1 - 1
mec-im/src/main/java/com/ym/service/Impl/LiveRoomServiceImpl.java

@@ -342,7 +342,7 @@ public class LiveRoomServiceImpl implements LiveRoomService {
         RTCRequest.RecordStart recordStart = RTCRequest.RecordStart.builder()
                 .streamName(streamId)
                 .extra("")
-                .endTime(DateTime.now().plusHours(23).getMillis())
+                .endTime(DateTime.now().plusHours(23).getMillis() / 1000)
                 .build();
         // 创建录制任务失败,重试3次后,发送IM消息通知主播老师
         int maxRetry = 0;