Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Unified Diff: remoting/host/chromoting_host.cc

Issue 26921005: Add VP9 decode support to the remoting client. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable VP9 correctly in hosts. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/chromoting_host.cc
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
index d7780f1d2d672faf6fc9748a7ece0623507d4807..80cd8b594685894d44dd1eaaf090eada13a4a0fb 100644
--- a/remoting/host/chromoting_host.cc
+++ b/remoting/host/chromoting_host.cc
@@ -86,6 +86,10 @@ ChromotingHost::ChromotingHost(
DCHECK(network_task_runner_->BelongsToCurrentThread());
DCHECK(signal_strategy);
+ // VP9 encode is not yet supported.
+ protocol::CandidateSessionConfig::DisableVideoCodec(
+ protocol_config_.get(), protocol::ChannelConfig::CODEC_VP9);
+
if (!desktop_environment_factory_->SupportsAudioCapture()) {
protocol::CandidateSessionConfig::DisableAudioChannel(
protocol_config_.get());

Powered by Google App Engine
This is Rietveld 408576698