Increases the max bandwidth selectable in the admin UI (#4550)

* feat(admin): Closes #1462. Increases the max bandwidth selectable in the UI + localization for the strings

* chore: update extracted translations

* Javascript formatting autofixes

---------

Co-authored-by: Owncast default web localizations <owncast@owncast.online>
This commit is contained in:
Gabe Kangas
2025-09-14 15:41:58 -07:00
committed by GitHub
parent 14189420c5
commit e66b0444ad
4 changed files with 53 additions and 11 deletions

View File

@ -435,12 +435,12 @@ export const FRAMERATE_TOOLTIPS = {
50: '50fps - Good for fast/action games, sports, HD video.',
60: '60fps - Good for fast/action games, sports, HD video.',
90: '90fps - Good for newer fast games and hardware.',
[FRAMERATE_DEFAULTS.max]: `${FRAMERATE_DEFAULTS.max}fps - Experimental, use at your own risk!`,
[FRAMERATE_DEFAULTS.max]: `${FRAMERATE_DEFAULTS.max}fps - Use at your own risk!`,
};
// VIDEO VARIANT FORM - bitrate
export const VIDEO_BITRATE_DEFAULTS = {
min: 400,
max: 6000,
max: 13000,
defaultValue: 1200,
unit: 'kbps',
incrementBy: 100,
@ -463,7 +463,8 @@ export const VIDEO_BITRATE_SLIDER_MARKS = {
label: `${VIDEO_BITRATE_DEFAULTS.min} ${VIDEO_BITRATE_DEFAULTS.unit}`,
},
3000: 3000,
4500: 4500,
6000: 6000,
9000: 9000,
[VIDEO_BITRATE_DEFAULTS.max]: {
style: {
marginLeft: '-10px',