Eric 2 년 전
부모
커밋
e2af728060
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;