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

Unified Diff: remoting/webapp/client_plugin.js

Issue 372943002: Add video frame recording capability to Chromoting hosts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Correct comment Created 6 years, 5 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/webapp/client_plugin.js
diff --git a/remoting/webapp/client_plugin.js b/remoting/webapp/client_plugin.js
index b281d24cd1219e7281021f687e3eb7b8a054ea4f..6fa0010615557903cd7c9da81b9ed51cd5981856 100644
--- a/remoting/webapp/client_plugin.js
+++ b/remoting/webapp/client_plugin.js
@@ -217,6 +217,10 @@ remoting.ClientPlugin.prototype.handleMessageMethod_ = function(message) {
// it rate-limits desktop-resize requests.
this.capabilities_.push(
remoting.ClientSession.Capability.RATE_LIMIT_RESIZE_REQUESTS);
+
+ // Let the host know that we can use the video framerecording extension.
+ this.capabilities_.push(
+ remoting.ClientSession.Capability.VIDEO_RECORDER);
} else if (this.pluginApiVersion_ >= 6) {
this.pluginApiFeatures_ = ['highQualityScaling', 'injectKeyEvent'];
} else {

Powered by Google App Engine
This is Rietveld 408576698