blob: d5efdef1ee770b338c74b62d6423eabf9bbb2744 [file] [log] [blame]
sergeyu78f725b2016-10-11 23:34:481// Copyright 2016 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef REMOTING_PROTOCOL_VIDEO_CHANNEL_STATE_OBSERVER_H_
6#define REMOTING_PROTOCOL_VIDEO_CHANNEL_STATE_OBSERVER_H_
7
8#include "base/time/time.h"
9
10namespace remoting {
11namespace protocol {
12
13class VideoChannelStateObserver {
14 public:
15 virtual void OnKeyFrameRequested() = 0;
16 virtual void OnChannelParameters(int packet_loss, base::TimeDelta rtt) = 0;
17 virtual void OnTargetBitrateChanged(int bitrate_kbps) = 0;
18
19 protected:
20 virtual ~VideoChannelStateObserver() {}
21};
22
23} // namespace protocol
24} // namespace remoting
25
26#endif // REMOTING_PROTOCOL_VIDEO_CHANNEL_STATE_OBSERVER_H_