diff options
author | Wicklow <123956049+wickloww@users.noreply.github.com> | 2023-03-31 07:12:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-31 09:12:21 +0200 |
commit | 05a60d85997c108d39bcfb14f1ffd4c74f8b1e93 (patch) | |
tree | 5041a95ef945620a17f25ba934064b41f6bb00b7 /shared/models/videos/live/live-video-create.model.ts | |
parent | ebd61437c1ec92bea9772924c7051cb00d71f778 (diff) | |
download | PeerTube-05a60d85997c108d39bcfb14f1ffd4c74f8b1e93.tar.gz PeerTube-05a60d85997c108d39bcfb14f1ffd4c74f8b1e93.tar.zst PeerTube-05a60d85997c108d39bcfb14f1ffd4c74f8b1e93.zip |
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
Diffstat (limited to 'shared/models/videos/live/live-video-create.model.ts')
-rw-r--r-- | shared/models/videos/live/live-video-create.model.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/models/videos/live/live-video-create.model.ts b/shared/models/videos/live/live-video-create.model.ts index bd245dec5..f8ae9e5a9 100644 --- a/shared/models/videos/live/live-video-create.model.ts +++ b/shared/models/videos/live/live-video-create.model.ts | |||
@@ -1,4 +1,5 @@ | |||
1 | import { VideoCreate } from '../video-create.model' | 1 | import { VideoCreate } from '../video-create.model' |
2 | import { VideoPrivacy } from '../video-privacy.enum' | ||
2 | import { LiveVideoLatencyMode } from './live-video-latency-mode.enum' | 3 | import { LiveVideoLatencyMode } from './live-video-latency-mode.enum' |
3 | 4 | ||
4 | export interface LiveVideoCreate extends VideoCreate { | 5 | export interface LiveVideoCreate extends VideoCreate { |
@@ -6,4 +7,5 @@ export interface LiveVideoCreate extends VideoCreate { | |||
6 | latencyMode?: LiveVideoLatencyMode | 7 | latencyMode?: LiveVideoLatencyMode |
7 | 8 | ||
8 | saveReplay?: boolean | 9 | saveReplay?: boolean |
10 | replaySettings?: { privacy: VideoPrivacy } | ||
9 | } | 11 | } |