diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/videos/video-resolution.enum.ts | 2 |
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 | */ |
18 | export function getBaseBitrate (resolution: VideoResolution) { | 18 | function 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 |