1
0
Fork 0
peertube/shared/models/videos/live/live-video-event-payload.model.ts
Chocobozzz 51353d9a03 Refactor video views
Introduce viewers attribute for live videos
Count views for live videos
Reduce delay to see the viewer update for lives
Add ability to configure video views buffer interval and view ip
expiration
2021-11-09 15:00:31 +01:00

10 lines
203 B
TypeScript

import { VideoState } from '../video-state.enum'
export interface LiveVideoEventPayload {
state?: VideoState
// FIXME: deprecated in 4.0 in favour of viewers
views?: number
viewers?: number
}