51353d9a03
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
10 lines
203 B
TypeScript
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
|
|
}
|