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;