1
0
Fork 0
peertube/shared/models/metrics/playback-metric-create.model.ts
2022-08-16 10:33:27 +02:00

19 lines
345 B
TypeScript

import { VideoResolution } from '../videos'
export interface PlaybackMetricCreate {
playerMode: 'p2p-media-loader' | 'webtorrent'
resolution?: VideoResolution
fps?: number
resolutionChanges: number
errors: number
downloadedBytesP2P: number
downloadedBytesHTTP: number
uploadedBytesP2P: number
videoId: number | string
}