typings: Rename recording-related enums and interfaces for clarity
This commit is contained in:
parent
4f6eb1d7e3
commit
c8703868d1
@ -1,4 +1,4 @@
|
|||||||
export const enum RecordingStatus {
|
export const enum MeetRecordingStatus {
|
||||||
STARTING = 'STARTING',
|
STARTING = 'STARTING',
|
||||||
STARTED = 'STARTED',
|
STARTED = 'STARTED',
|
||||||
STOPPING = 'STOPPING',
|
STOPPING = 'STOPPING',
|
||||||
@ -7,7 +7,7 @@ export const enum RecordingStatus {
|
|||||||
READY = 'READY'
|
READY = 'READY'
|
||||||
}
|
}
|
||||||
|
|
||||||
export const enum RecordingOutputMode {
|
export const enum MeetRecordingOutputMode {
|
||||||
COMPOSED = 'COMPOSED',
|
COMPOSED = 'COMPOSED',
|
||||||
INDIVIDUAL = 'INDIVIDUAL'
|
INDIVIDUAL = 'INDIVIDUAL'
|
||||||
}
|
}
|
||||||
@ -15,15 +15,16 @@ export const enum RecordingOutputMode {
|
|||||||
/**
|
/**
|
||||||
* Interface representing a recording
|
* Interface representing a recording
|
||||||
*/
|
*/
|
||||||
export interface RecordingInfo {
|
export interface MeetRecordingInfo {
|
||||||
id: string;
|
id: string;
|
||||||
roomName: string;
|
roomName: string;
|
||||||
|
// TODO: Delete roomId
|
||||||
roomId: string;
|
roomId: string;
|
||||||
outputMode: RecordingOutputMode;
|
outputMode: MeetRecordingOutputMode;
|
||||||
status: RecordingStatus;
|
status: MeetRecordingStatus;
|
||||||
filename?: string;
|
filename?: string;
|
||||||
creationDate?: number;
|
startedAt?: number;
|
||||||
endDate?: number;
|
endedAt?: number;
|
||||||
duration?: number;
|
duration?: number;
|
||||||
size?: number;
|
size?: number;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { RecordingStatus } from './recording.model.js';
|
import { MeetRecordingStatus } from './recording.model.js';
|
||||||
|
|
||||||
export interface OpenViduWebhookEvent {
|
export interface OpenViduWebhookEvent {
|
||||||
creationDate: number;
|
creationDate: number;
|
||||||
@ -16,7 +16,7 @@ export interface RecordingWebhookData {
|
|||||||
recordingId: string;
|
recordingId: string;
|
||||||
filename?: string;
|
filename?: string;
|
||||||
roomName: string;
|
roomName: string;
|
||||||
status: RecordingStatus;
|
status: MeetRecordingStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface RoomWebhookData {
|
export interface RoomWebhookData {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user