05a60d8599
* Add replay settings feature * Fix replay settings behaviour * Fix tests * Fix tests * Fix tests * Update openapi doc and fix tests * Add tests and fix code * Models correction * Add migration and update controller and middleware * Add check params tests * Fix video live middleware * Updated code based on review comments
11 lines
365 B
TypeScript
11 lines
365 B
TypeScript
import { VideoCreate } from '../video-create.model'
|
|
import { VideoPrivacy } from '../video-privacy.enum'
|
|
import { LiveVideoLatencyMode } from './live-video-latency-mode.enum'
|
|
|
|
export interface LiveVideoCreate extends VideoCreate {
|
|
permanentLive?: boolean
|
|
latencyMode?: LiveVideoLatencyMode
|
|
|
|
saveReplay?: boolean
|
|
replaySettings?: { privacy: VideoPrivacy }
|
|
}
|