aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/peertube-player-manager.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-15 16:25:33 +0100
committerChocobozzz <me@florianbigard.com>2021-12-16 10:08:55 +0100
commit9576506763c20c7efbdb229483440a1fc984cf4d (patch)
tree58b3b52b85693c00a9dac2e73fed220ac65cc243 /client/src/assets/player/peertube-player-manager.ts
parentbf1c3c78b0e2b70bb46168a9dec0d3fa0997ab14 (diff)
downloadPeerTube-9576506763c20c7efbdb229483440a1fc984cf4d.tar.gz
PeerTube-9576506763c20c7efbdb229483440a1fc984cf4d.tar.zst
PeerTube-9576506763c20c7efbdb229483440a1fc984cf4d.zip
Add P2P enabled/disabled in player card
Diffstat (limited to 'client/src/assets/player/peertube-player-manager.ts')
-rw-r--r--client/src/assets/player/peertube-player-manager.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-player-manager.ts b/client/src/assets/player/peertube-player-manager.ts
index 57cdfca28..ac8134fa8 100644
--- a/client/src/assets/player/peertube-player-manager.ts
+++ b/client/src/assets/player/peertube-player-manager.ts
@@ -193,7 +193,8 @@ export class PeertubePlayerManager {
193 player.stats({ 193 player.stats({
194 videoUUID: options.common.videoUUID, 194 videoUUID: options.common.videoUUID,
195 videoIsLive: options.common.isLive, 195 videoIsLive: options.common.isLive,
196 mode 196 mode,
197 p2pEnabled: options.common.p2pEnabled
197 }) 198 })
198 199
199 player.on('p2pInfo', (_, data: PlayerNetworkInfo) => { 200 player.on('p2pInfo', (_, data: PlayerNetworkInfo) => {