diff options
Diffstat (limited to 'shared/models/metrics')
-rw-r--r-- | shared/models/metrics/index.ts | 1 | ||||
-rw-r--r-- | shared/models/metrics/playback-metric-create.model.ts | 22 |
2 files changed, 0 insertions, 23 deletions
diff --git a/shared/models/metrics/index.ts b/shared/models/metrics/index.ts deleted file mode 100644 index 24194cce3..000000000 --- a/shared/models/metrics/index.ts +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | export * from './playback-metric-create.model' | ||
diff --git a/shared/models/metrics/playback-metric-create.model.ts b/shared/models/metrics/playback-metric-create.model.ts deleted file mode 100644 index 1d47421c3..000000000 --- a/shared/models/metrics/playback-metric-create.model.ts +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | import { VideoResolution } from '../videos' | ||
2 | |||
3 | export interface PlaybackMetricCreate { | ||
4 | playerMode: 'p2p-media-loader' | 'webtorrent' | 'web-video' // FIXME: remove webtorrent player mode not used anymore in PeerTube v6 | ||
5 | |||
6 | resolution?: VideoResolution | ||
7 | fps?: number | ||
8 | |||
9 | p2pEnabled: boolean | ||
10 | p2pPeers?: number | ||
11 | |||
12 | resolutionChanges: number | ||
13 | |||
14 | errors: number | ||
15 | |||
16 | downloadedBytesP2P: number | ||
17 | downloadedBytesHTTP: number | ||
18 | |||
19 | uploadedBytesP2P: number | ||
20 | |||
21 | videoId: number | string | ||
22 | } | ||