23 lines
477 B
TypeScript
23 lines
477 B
TypeScript
import { VideoResolution } from '../videos'
|
|
|
|
export interface PlaybackMetricCreate {
|
|
playerMode: 'p2p-media-loader' | 'webtorrent' | 'web-video' // FIXME: remove webtorrent player mode not used anymore in PeerTube v6
|
|
|
|
resolution?: VideoResolution
|
|
fps?: number
|
|
|
|
p2pEnabled?: boolean
|
|
totalPeers?: number
|
|
|
|
resolutionChanges: number
|
|
|
|
errors: number
|
|
|
|
downloadedBytesP2P: number
|
|
downloadedBytesHTTP: number
|
|
|
|
uploadedBytesP2P: number
|
|
|
|
videoId: number | string
|
|
}
|