Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

570 B
Raw Blame
import { VideoPrivacyType } from '../video-privacy.enum.js'
import { LiveVideoLatencyModeType } from './live-video-latency-mode.enum.js'
import { LiveVideoScheduleEdit } from './live-video-schedule.model.js'

export interface LiveVideo {
  // If owner
  rtmpUrl?: string
  rtmpsUrl?: string
  streamKey?: string
  // End if owner

  saveReplay: boolean
  replaySettings?: { privacy: VideoPrivacyType }
  permanentLive: boolean
  latencyMode: LiveVideoLatencyModeType

  // DVR is enabled if dvrWindowMs is > 0
  dvrWindow: number

  schedules: LiveVideoScheduleEdit[]
}