#if BUILDFLAG(IS_TIZEN)
// Low latency mode for game
const char kEnableGameMode[] = "enable-game-mode";
-const char kEnableLegacyGameMode[] = "enable-legacy-game-mode";
const char kEnableNDecoding[] = "enable-n-decoding";
const char kEnableUpstreamArchitecture[] = "enable-upstream-architecture";
#endif
#if BUILDFLAG(IS_TIZEN)
MEDIA_EXPORT extern const char kEnableGameMode[];
-MEDIA_EXPORT extern const char kEnableLegacyGameMode[];
MEDIA_EXPORT extern const char kEnableNDecoding[];
MEDIA_EXPORT extern const char kEnableUpstreamArchitecture[];
#endif
const char* kForceHideWindow =
"http://samsung.com/tv/metadata/force.hide.window";
const char* kGameMode = "http://samsung.com/tv/metadata/use.game.mode";
-const char* kLegacyGameMode =
- "http://samsung.com/tv/metadata/use.legacy.game.mode";
const char* kUpstreamArchitecture =
"http://samsung.com/tv/metadata/use.upstream.architecture";
const char* kNDecoding =
}
const bool enable_game_mode = (meta_data_info.GetValue(kGameMode) == "true");
- const bool legacy_game_mode =
- (meta_data_info.GetValue(kLegacyGameMode) == "true");
const bool enable_upstream_architecture =
(meta_data_info.GetValue(kUpstreamArchitecture) == "true");
- if (enable_game_mode || legacy_game_mode) {
+ if (enable_game_mode) {
auto current_command_line = base::CommandLine::ForCurrentProcess();
current_command_line->AppendSwitch(switches::kEnableGameMode);
base::FieldTrialList::CreateFieldTrial("WebRTC-ForceZeroDelayInGameMode",
current_command_line->AppendSwitch(switches::kEnableNDecoding);
}
- if (legacy_game_mode) {
- auto current_command_line = base::CommandLine::ForCurrentProcess();
- current_command_line->AppendSwitch(switches::kEnableLegacyGameMode);
- }
-
if (enable_upstream_architecture || enable_game_mode) {
auto current_command_line = base::CommandLine::ForCurrentProcess();
LOG(INFO) << "Use upstream architecture";