Add a message to allow clients to control the video channel.
Currently only enabling/disabling of video updates is controllable, which will be used to allow clients to suspend updates while their tab is not visible.
This will be manually testable once the client is updated to hook visibility notifications to send pause/resume messages.
BUG=107285
Review URL: http://codereview.chromium.org/10285005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135071 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/remoting/proto/control.proto b/remoting/proto/control.proto
index 861005a..6c00389 100644
--- a/remoting/proto/control.proto
+++ b/remoting/proto/control.proto
@@ -15,3 +15,8 @@
optional int32 width = 1;
optional int32 height = 2;
}
+
+message VideoControl {
+ // Enables the video channel if true, pauses if false.
+ optional bool enable = 1;
+}