AudioReceiveStream: Clean up ConfigureStream.

Increases readability of configuration setup by separating
first time configuration setup and reconfiguration.

Bug: None
Change-Id: Ifee29c31bce505a971ab5993cb862a72db94725a
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/220700
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Commit-Queue: Markus Handell <handellm@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34159}
This commit is contained in:
Markus Handell
2021-05-29 13:21:28 +02:00
committed by WebRTC LUCI CQ
parent c81afe365d
commit acd16af8c6
2 changed files with 40 additions and 52 deletions

View File

@ -102,10 +102,6 @@ class AudioReceiveStream final : public webrtc::AudioReceiveStream,
const AudioSendStream* GetAssociatedSendStreamForTesting() const;
private:
static void ConfigureStream(AudioReceiveStream* stream,
const Config& new_config,
bool first_time);
AudioState* audio_state() const;
SequenceChecker worker_thread_checker_;