aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/metrics/playback-metric-create.model.ts
blob: d669ab69049519951bd81fd2ca689f638921b99a (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'

  resolution?: VideoResolution
  fps?: number

  resolutionChanges: number

  errors: number

  downloadedBytesP2P: number
  downloadedBytesHTTP: number

  uploadedBytesP2P: number

  videoId: number | string
}