Chocobozzz/PeerTube

View on GitHub
packages/models/src/videos/live/live-video-session.model.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { VideoPrivacyType } from '../video-privacy.enum.js'
import { LiveVideoErrorType } from './live-video-error.enum.js'

export interface LiveVideoSession {
  id: number

  startDate: string
  endDate: string

  error: LiveVideoErrorType

  saveReplay: boolean
  endingProcessed: boolean

  replaySettings?: { privacy: VideoPrivacyType }

  replayVideo: {
    id: number
    uuid: string
    shortUUID: string
  }
}