diff --git a/src/components/App/App.tsx b/src/components/App/App.tsx index 6f241d4e66..20348b586b 100644 --- a/src/components/App/App.tsx +++ b/src/components/App/App.tsx @@ -125,6 +125,7 @@ interface AppState { isErrorAuth: boolean; settings: Settings; vBrowserResolution: string; + vBrowserQuality: string; isVBrowserLarge: boolean; nonPlayableMedia: boolean; currentTab: string; @@ -189,6 +190,7 @@ export default class App extends React.Component { isErrorAuth: false, settings: {}, vBrowserResolution: '1280x720@30', + vBrowserQuality: '1', isVBrowserLarge: false, nonPlayableMedia: false, currentTab: @@ -431,6 +433,7 @@ export default class App extends React.Component { nonPlayableMedia: false, isVBrowserLarge: data.isVBrowserLarge, vBrowserResolution: '1280x720@30', + vBrowserQuality: '1', controller: data.controller, isLiveHls: false, }, @@ -2276,6 +2279,45 @@ export default class App extends React.Component { ]} > )} + {this.playingVBrowser() && ( + { + this.setState({ + vBrowserQuality: data.value as string, + }); + }} + selection + options={[ + { + text: 'Eco', + value: '0.25', + }, + { + text: 'Low', + value: '0.5', + }, + { + text: 'Standard', + value: '1', + }, + { + text: 'High', + value: '1.5', + }, + { + text: 'Ultra', + value: '2', + }, + ]} + > + )} {this.playingVBrowser() && (