]>
Commit | Line | Data |
---|---|---|
1 | export interface EventHandler<T> { | |
2 | (ev: T): void | |
3 | } | |
4 | ||
5 | export type PlayerEventType = | |
6 | 'pause' | 'play' | | |
7 | 'playbackStatusUpdate' | | |
8 | 'playbackStatusChange' | | |
9 | 'resolutionUpdate' | |
10 | ||
11 | export interface PeerTubeResolution { | |
12 | id: any | |
13 | label: string | |
14 | src: string | |
15 | active: boolean | |
16 | } |