Index: webrtc/call/call.cc |
diff --git a/webrtc/call/call.cc b/webrtc/call/call.cc |
index 41ac328eab14f44249a20d7ac0dba85a36bb9d1d..5c95d7941f8675828bfee7b962b082a88d1293c3 100644 |
--- a/webrtc/call/call.cc |
+++ b/webrtc/call/call.cc |
@@ -550,6 +550,10 @@ void Call::SetBitrateConfig( |
void Call::SignalNetworkState(NetworkState state) { |
RTC_DCHECK(configuration_thread_checker_.CalledOnValidThread()); |
+ // TODO(skvlad): In the unbundled case the network state might be different |
+ // for the audio and video channels. Currently the last change wins. |
+ // Correctly handling this scenario would require tracking the network state |
+ // for each media type separately. |
stefan-webrtc
2016/03/02 08:25:59
Do we think this is a common scenario? In that cas
pbos-webrtc
2016/03/02 12:54:34
Does this risk audio/video network states being ou
skvlad
2016/03/02 18:44:05
This sounds like a good idea - let's keep the spec
skvlad
2016/03/02 18:44:05
Currently the audio/video MediaChannels each deter
|
network_enabled_ = state == kNetworkUp; |
congestion_controller_->SignalNetworkState(state); |
{ |