From 52201311e1973a12960466232d4dec861e8258ee Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 26 Nov 2019 16:25:36 +0100 Subject: Add codec information in HLS playlist --- client/src/assets/player/peertube-player-manager.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'client') diff --git a/client/src/assets/player/peertube-player-manager.ts b/client/src/assets/player/peertube-player-manager.ts index 4564b6c3e..bda718cff 100644 --- a/client/src/assets/player/peertube-player-manager.ts +++ b/client/src/assets/player/peertube-player-manager.ts @@ -262,6 +262,7 @@ export class PeertubePlayerManager { }, html5: { hlsjsConfig: { + capLevelToPlayerSize: true, autoStartLoad: false, liveSyncDurationCount: 7, loader: new p2pMediaLoaderModule.Engine(p2pMediaLoaderConfig).createLoaderClass() -- cgit v1.2.3