mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
update variant default source
This commit is contained in:
parent
0bdcd0fbf6
commit
4efc644955
@ -230,44 +230,3 @@ export const DEFAULT_VARIANT_STATE:VideoVariant = {
|
|||||||
audioBitrate: 0,
|
audioBitrate: 0,
|
||||||
encoderPreset: 'veryfast',
|
encoderPreset: 'veryfast',
|
||||||
};
|
};
|
||||||
|
|
||||||
export const VIDEO_VARIANT_DEFAULTS = {
|
|
||||||
framerate: {
|
|
||||||
label: 'Frame rate',
|
|
||||||
min: 10,
|
|
||||||
max: 80,
|
|
||||||
defaultValue: 24,
|
|
||||||
unit: 'fps',
|
|
||||||
incrementBy: 1,
|
|
||||||
tip: 'You prob wont need to touch this unless youre a hardcore gamer and need all the bitties',
|
|
||||||
},
|
|
||||||
videoBitrate: {
|
|
||||||
label: 'Video Bitrate',
|
|
||||||
min: 600,
|
|
||||||
max: 1200,
|
|
||||||
defaultValue: 800,
|
|
||||||
unit: 'kbps',
|
|
||||||
incrementBy: 100,
|
|
||||||
tip: 'This is importatnt yo',
|
|
||||||
},
|
|
||||||
audioBitrate: {
|
|
||||||
label: 'Audio Bitrate',
|
|
||||||
min: 600,
|
|
||||||
max: 1200,
|
|
||||||
defaultValue: 800,
|
|
||||||
unit: 'kbps',
|
|
||||||
incrementBy: 100,
|
|
||||||
tip: 'nothing to see here'
|
|
||||||
},
|
|
||||||
encoderPreset: {
|
|
||||||
label: 'Encoder Preset',
|
|
||||||
defaultValue: ENCODER_PRESETS[2],
|
|
||||||
tip: 'Info and stuff.'
|
|
||||||
},
|
|
||||||
videoPassthrough: {
|
|
||||||
tip: 'If No is selected, then you should set your desired Video Bitrate.'
|
|
||||||
},
|
|
||||||
audioPassthrough: {
|
|
||||||
tip: 'If No is selected, then you should set your desired Audio Bitrate.'
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|||||||
@ -51,7 +51,7 @@ code {
|
|||||||
}
|
}
|
||||||
.ant-menu-dark .ant-menu-inline.ant-menu-sub {
|
.ant-menu-dark .ant-menu-inline.ant-menu-sub {
|
||||||
// background-color: rgba(255,255,255,.05);
|
// background-color: rgba(255,255,255,.05);
|
||||||
background-color: #15102a;
|
background-color: #140028;
|
||||||
}
|
}
|
||||||
.ant-card {
|
.ant-card {
|
||||||
border-radius: .5em;
|
border-radius: .5em;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user