Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Unified Diff: webrtc/audio/audio_send_stream.cc

Issue 2966503002: Always ResetSenderCongestionControlObjects before RegisterEtc... (Closed)
Patch Set: Added a test to ensure Reset is called first. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/audio/audio_send_stream_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/audio/audio_send_stream.cc
diff --git a/webrtc/audio/audio_send_stream.cc b/webrtc/audio/audio_send_stream.cc
index f89da981e44e94d54c6b723e02237f9284b8af9d..9bd5034f16a3e9cc2c2afea6f7d7b76d21ed2143 100644
--- a/webrtc/audio/audio_send_stream.cc
+++ b/webrtc/audio/audio_send_stream.cc
@@ -171,7 +171,7 @@ void AudioSendStream::ConfigureStream(
// Transport sequence number
if (first_time ||
new_ids.transport_sequence_number != old_ids.transport_sequence_number) {
- if (old_ids.transport_sequence_number) {
+ if (!first_time) {
channel_proxy->ResetSenderCongestionControlObjects();
stream->bandwidth_observer_.reset();
}
« no previous file with comments | « no previous file | webrtc/audio/audio_send_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698