1
0
Fork 0
peertube/shared/models/videos/live/live-video-create.model.ts
Wicklow 05a60d8599
Feature/Add replay privacy (#5692)
* 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
2023-03-31 09:12:21 +02:00

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 }
}