2022-08-12 09:41:29 -05:00
|
|
|
import { VideoResolution } from '../videos'
|
|
|
|
|
|
|
|
export interface PlaybackMetricCreate {
|
2023-06-29 08:55:00 -05:00
|
|
|
playerMode: 'p2p-media-loader' | 'webtorrent' | 'web-video' // FIXME: remove webtorrent player mode not used anymore in PeerTube v6
|
2022-08-12 09:41:29 -05:00
|
|
|
|
|
|
|
resolution?: VideoResolution
|
|
|
|
fps?: number
|
|
|
|
|
|
|
|
resolutionChanges: number
|
|
|
|
|
|
|
|
errors: number
|
|
|
|
|
|
|
|
downloadedBytesP2P: number
|
|
|
|
downloadedBytesHTTP: number
|
|
|
|
|
|
|
|
uploadedBytesP2P: number
|
|
|
|
|
|
|
|
videoId: number | string
|
|
|
|
}
|