aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/metrics/playback-metric-create.model.ts
blob: 3a8f328c8d1989be74418830b2539ec389027ebc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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

  resolutionChanges: number

  errors: number

  downloadedBytesP2P: number
  downloadedBytesHTTP: number

  uploadedBytesP2P: number

  videoId: number | string
}