aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/metrics
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/metrics')
-rw-r--r--shared/models/metrics/index.ts1
-rw-r--r--shared/models/metrics/playback-metric-create.model.ts22
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 @@
1export * 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 @@
1import { VideoResolution } from '../videos'
2
3export 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}