diff options
author | stefan@webrtc.org <stefan@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-03-25 10:37:31 +0000 |
---|---|---|
committer | stefan@webrtc.org <stefan@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-03-25 10:37:31 +0000 |
commit | 5d8c95410ed920ebc224686bb8db2fc358c0e0c0 (patch) | |
tree | 6b6f871d04f75f2750533a671733f68bddf029b2 /video_engine/vie_channel_manager.cc | |
parent | 7fd6ac16215c357f082ed09f1e460309d01a29ca (diff) | |
download | webrtc-5d8c95410ed920ebc224686bb8db2fc358c0e0c0.tar.gz |
Adding API for setting bandwidth estimation configurations.
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/10519004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5773 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'video_engine/vie_channel_manager.cc')
-rw-r--r-- | video_engine/vie_channel_manager.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/video_engine/vie_channel_manager.cc b/video_engine/vie_channel_manager.cc index 37e46928..746cb258 100644 --- a/video_engine/vie_channel_manager.cc +++ b/video_engine/vie_channel_manager.cc @@ -389,6 +389,17 @@ void ViEChannelManager::UpdateSsrcs(int channel_id, } } +bool ViEChannelManager::SetBandwidthEstimationConfig( + int channel_id, const webrtc::Config& config) { + CriticalSectionScoped cs(channel_id_critsect_); + ChannelGroup* group = FindGroup(channel_id); + if (!group) { + return false; + } + group->SetBandwidthEstimationConfig(config); + return true; +} + bool ViEChannelManager::CreateChannelObject( int channel_id, ViEEncoder* vie_encoder, |