PeerTube_original/shared/models/videos/live/live-video.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

15 lines
358 B
TypeScript

import { VideoPrivacy } from '../video-privacy.enum'
import { LiveVideoLatencyMode } from './live-video-latency-mode.enum'
export interface LiveVideo {
// If owner
rtmpUrl?: string
rtmpsUrl?: string
streamKey?: string
saveReplay: boolean
replaySettings?: { privacy: VideoPrivacy }
permanentLive: boolean
latencyMode: LiveVideoLatencyMode
}