Network up/down signaling in Call.
BUG=2429 R=mflodman@webrtc.org, stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/13109005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7044 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -103,6 +103,8 @@ class FakeCall : public webrtc::Call {
|
||||
|
||||
std::vector<webrtc::VideoCodec> GetDefaultVideoCodecs();
|
||||
|
||||
webrtc::Call::NetworkState GetNetworkState() const;
|
||||
|
||||
private:
|
||||
virtual webrtc::VideoSendStream* CreateVideoSendStream(
|
||||
const webrtc::VideoSendStream::Config& config,
|
||||
@ -122,6 +124,9 @@ class FakeCall : public webrtc::Call {
|
||||
virtual uint32_t SendBitrateEstimate() OVERRIDE;
|
||||
virtual uint32_t ReceiveBitrateEstimate() OVERRIDE;
|
||||
|
||||
virtual void SignalNetworkState(webrtc::Call::NetworkState state) OVERRIDE;
|
||||
|
||||
webrtc::Call::NetworkState network_state_;
|
||||
std::vector<webrtc::VideoCodec> codecs_;
|
||||
std::vector<FakeVideoSendStream*> video_send_streams_;
|
||||
std::vector<FakeVideoReceiveStream*> video_receive_streams_;
|
||||
|
||||
Reference in New Issue
Block a user