Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
feat(video-quality-slider): use active slider option text
Joshua Irmer5cb269e687dd
diff --git a/react/features/video-quality/components/VideoQualitySlider.web.tsx b/react/features/video-quality/components/VideoQualitySlider.web.tsxindex 9545bdf85a..21bcc38c20 100644--- a/react/features/video-quality/components/VideoQualitySlider.web.tsx+++ b/react/features/video-quality/components/VideoQualitySlider.web.tsx@@ -183,7 +183,8 @@ class VideoQualitySlider extends Component<IProps> {override render() {const { t } = this.props;const classes = withStyles.getClasses(this.props);- const activeSliderOption = this._mapCurrentQualityToSliderValue();+ const activeSliderOptionIndex = this._mapCurrentQualityToSliderValue();+ const activeSliderOption = this._sliderOptions[activeSliderOptionIndex];return (<div className = { clsx('video-quality-dialog', classes.dialog) }>@@ -201,11 +202,12 @@ class VideoQualitySlider extends Component<IProps> {</div><SliderariaLabel = { t('videoStatus.callQuality') }+ ariaValuetext = { t(activeSliderOption.textKey) }max = { this._sliderOptions.length - 1 }min = { 0 }onChange = { this._onSliderChange }step = { 1 }- value = { activeSliderOption } />+ value = { activeSliderOptionIndex } /></div></div>);