@readerseye2/cr_type 1.0.85 → 1.0.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -168,6 +168,12 @@ export interface RecordingChunkPayload {
|
|
|
168
168
|
chunk: ChunkFile;
|
|
169
169
|
snapshot?: ViewerSnapshot;
|
|
170
170
|
}
|
|
171
|
+
/** 실시간 이벤트 relay (라이브 모니터링용, 청크 대기 없이 즉시 전송) */
|
|
172
|
+
export interface RecordingLiveEventsPayload {
|
|
173
|
+
recordingId: string;
|
|
174
|
+
segmentIndex: number;
|
|
175
|
+
events: ViewerEvent[];
|
|
176
|
+
}
|
|
171
177
|
/** 세그먼트 시작됨 (뷰어 열림) */
|
|
172
178
|
export interface SegmentStartedPayload {
|
|
173
179
|
recordingId: string;
|
|
@@ -2,7 +2,7 @@ import { MessageReadResponse, MessageResponse, NoticeMessageResult } from "./soc
|
|
|
2
2
|
import { ReadingSessionInfo, ViewerSnapshot } from "./reading-section.types";
|
|
3
3
|
import { ViewerEvent } from "./viewer-events.types";
|
|
4
4
|
import { ConnectedUser, ConnectedUsersGrouped } from "./connected-user.types";
|
|
5
|
-
import { RecordingStartedPayload, RecordingStoppedPayload, RecordingChunkPayload, SegmentStartedPayload, SegmentEndedPayload, RecordingListResultPayload, RecordingManifestPayload, SegmentMetaPayload, ChunksResultPayload } from "./recording.types";
|
|
5
|
+
import { RecordingStartedPayload, RecordingStoppedPayload, RecordingChunkPayload, RecordingLiveEventsPayload, SegmentStartedPayload, SegmentEndedPayload, RecordingListResultPayload, RecordingManifestPayload, SegmentMetaPayload, ChunksResultPayload } from "./recording.types";
|
|
6
6
|
export interface ServerToClientEvents {
|
|
7
7
|
connect: () => void;
|
|
8
8
|
disconnect: () => void;
|
|
@@ -67,6 +67,7 @@ export interface RecordingServerToClientEvents {
|
|
|
67
67
|
'recording:started': (payload: RecordingStartedPayload) => void;
|
|
68
68
|
'recording:stopped': (payload: RecordingStoppedPayload) => void;
|
|
69
69
|
'recording:chunk': (payload: RecordingChunkPayload) => void;
|
|
70
|
+
'recording:live-events': (payload: RecordingLiveEventsPayload) => void;
|
|
70
71
|
'recording:segment-started': (payload: SegmentStartedPayload) => void;
|
|
71
72
|
'recording:segment-ended': (payload: SegmentEndedPayload) => void;
|
|
72
73
|
'recording:error': (payload: {
|