aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFelix Ableitner <me@nutomic.com>2018-10-10 02:39:34 -0500
committerChocobozzz <me@florianbigard.com>2018-10-17 10:05:17 +0200
commitc19787797150daf706dec586a44819a8b727fe84 (patch)
treed24cc2463f4c473e61c80f99d6e9c8a363b10f1a
parent2f71dcf8de13e5250957173c9a2efe1c5544aeb2 (diff)
downloadPeerTube-c19787797150daf706dec586a44819a8b727fe84.tar.gz
PeerTube-c19787797150daf706dec586a44819a8b727fe84.tar.zst
PeerTube-c19787797150daf706dec586a44819a8b727fe84.zip
dont export base bitrate
-rw-r--r--shared/models/videos/video-resolution.enum.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/models/videos/video-resolution.enum.ts b/shared/models/videos/video-resolution.enum.ts
index c9b258921..2eee03843 100644
--- a/shared/models/videos/video-resolution.enum.ts
+++ b/shared/models/videos/video-resolution.enum.ts
@@ -15,7 +15,7 @@ export enum VideoResolution {
15 * Google Live Encoder: https://support.google.com/youtube/answer/2853702?hl=en 15 * Google Live Encoder: https://support.google.com/youtube/answer/2853702?hl=en
16 * YouTube Video Info (tested with random music video): https://www.h3xed.com/blogmedia/youtube-info.php 16 * YouTube Video Info (tested with random music video): https://www.h3xed.com/blogmedia/youtube-info.php
17 */ 17 */
18export function getBaseBitrate (resolution: VideoResolution) { 18function getBaseBitrate (resolution: VideoResolution) {
19 switch (resolution) { 19 switch (resolution) {
20 case VideoResolution.H_240P: 20 case VideoResolution.H_240P:
21 // quality according to Google Live Encoder: 300 - 700 Kbps 21 // quality according to Google Live Encoder: 300 - 700 Kbps