blob: 3ae91b2953a8506a61bb2048cda05fe2560b807e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
import { VideoResolutionType } from '../videos/index.js'
export interface PlaybackMetricCreate {
playerMode: 'p2p-media-loader' | 'webtorrent' | 'web-video' // FIXME: remove webtorrent player mode not used anymore in PeerTube v6
resolution?: VideoResolutionType
fps?: number
p2pEnabled: boolean
p2pPeers?: number
resolutionChanges: number
errors: number
downloadedBytesP2P: number
downloadedBytesHTTP: number
uploadedBytesP2P: number
videoId: number | string
}
|