projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f71dcf
)
dont export base bitrate
author
Felix Ableitner
<me@nutomic.com>
Wed, 10 Oct 2018 07:39:34 +0000
(
02:39
-0500)
committer
Chocobozzz
<me@florianbigard.com>
Wed, 17 Oct 2018 08:05:17 +0000
(10:05 +0200)
shared/models/videos/video-resolution.enum.ts
patch
|
blob
|
history
diff --git
a/shared/models/videos/video-resolution.enum.ts
b/shared/models/videos/video-resolution.enum.ts
index c9b25892102b146bcdfb52208c715546e65b1f54..2eee038430d63d0b80bb53136731b70ee364f6a8 100644
(file)
--- a/
shared/models/videos/video-resolution.enum.ts
+++ b/
shared/models/videos/video-resolution.enum.ts
@@
-15,7
+15,7
@@
export enum VideoResolution {
* Google Live Encoder: https://support.google.com/youtube/answer/2853702?hl=en
* YouTube Video Info (tested with random music video): https://www.h3xed.com/blogmedia/youtube-info.php
*/
-
export
function getBaseBitrate (resolution: VideoResolution) {
+function getBaseBitrate (resolution: VideoResolution) {
switch (resolution) {
case VideoResolution.H_240P:
// quality according to Google Live Encoder: 300 - 700 Kbps