| Index: remoting/host/desktop_session_proxy.cc
|
| diff --git a/remoting/host/desktop_session_proxy.cc b/remoting/host/desktop_session_proxy.cc
|
| index 1f2bbc5d1720e2728ffa34e3d5103a437da1b19b..730dca7b4c16a28ca855d9819d7bf041d700d1e2 100644
|
| --- a/remoting/host/desktop_session_proxy.cc
|
| +++ b/remoting/host/desktop_session_proxy.cc
|
| @@ -34,6 +34,7 @@
|
|
|
| const bool kReadOnly = true;
|
| const char kSendInitialResolution[] = "sendInitialResolution";
|
| +const char kRateLimitResizeRequests[] = "rateLimitResizeRequests";
|
|
|
| namespace remoting {
|
|
|
| @@ -144,8 +145,11 @@ scoped_ptr<media::ScreenCapturer> DesktopSessionProxy::CreateVideoCapturer() {
|
| }
|
|
|
| std::string DesktopSessionProxy::GetCapabilities() const {
|
| - // Ask the client to send it's resolution unconditionally.
|
| - return virtual_terminal_ ? kSendInitialResolution : std::string();
|
| + std::string result = kRateLimitResizeRequests;
|
| + // Ask the client to send its resolution unconditionally.
|
| + if (virtual_terminal_)
|
| + result = result + " " + kSendInitialResolution;
|
| + return result;
|
| }
|
|
|
| void DesktopSessionProxy::SetCapabilities(const std::string& capabilities) {
|
|
|