summaryrefslogtreecommitdiff
path: root/video_engine/vie_network_impl.h
diff options
context:
space:
mode:
authorstefan@webrtc.org <stefan@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-03-27 16:36:01 +0000
committerstefan@webrtc.org <stefan@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-03-27 16:36:01 +0000
commitdca71b270896a8501d9f12506e7da48cde9abb20 (patch)
tree5e3f723afeeb1520834744ea7cc82c973a1b1606 /video_engine/vie_network_impl.h
parent6e34ceb97c11f4d390742a8364e77a65b8a01200 (diff)
downloadwebrtc-dca71b270896a8501d9f12506e7da48cde9abb20.tar.gz
Add interface to signal a network down event.
- In real-time mode encoding will be paused until the network is back up. - In buffering mode the encoder will keep encoding, and packets will be buffered at the sender. When the buffer grows above the target delay encoding will be paused. - Fixes a couple of issues related to pacing which was found with the new test. - Introduces different max bitrates for pacing and for encoding. This allows the pacer to faster get rid of the queue after a network down event. (Work based on issue 1237004) BUG=1524 TESTS=trybots,vie_auto_test Review URL: https://webrtc-codereview.appspot.com/1258004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3730 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'video_engine/vie_network_impl.h')
-rw-r--r--video_engine/vie_network_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video_engine/vie_network_impl.h b/video_engine/vie_network_impl.h
index 56832df0..0a233e79 100644
--- a/video_engine/vie_network_impl.h
+++ b/video_engine/vie_network_impl.h
@@ -25,6 +25,8 @@ class ViENetworkImpl
public:
// Implements ViENetwork.
virtual int Release();
+ virtual void SetNetworkTransmissionState(const int video_channel,
+ const bool is_transmitting);
virtual int SetLocalReceiver(const int video_channel,
const uint16_t rtp_port,
const uint16_t rtcp_port,