Chocobozzz/PeerTube

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

Summary

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

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

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