Eric 2 năm trước cách đây
mục cha
commit
e2af728060

+ 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;