Video and flexfec receive stream config changes without recreate.

SetFeedbackParameters no longer recreates the embedded streams for:
- transport cc flag
- rtcp status

Bug: none
Change-Id: If6117a1ae760ca9a02f06bbfa2b46c6e0f448cfc
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/268281
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37526}
This commit is contained in:
Tommi
2022-07-14 18:33:42 +02:00
committed by WebRTC LUCI CQ
parent f6221058d3
commit aeb4412e09
10 changed files with 61 additions and 12 deletions

View File

@ -75,6 +75,11 @@ class FlexfecReceiveStreamImpl : public FlexfecReceiveStream {
transport_cc_ = transport_cc;
}
void SetRtcpMode(RtcpMode mode) override {
RTC_DCHECK_RUN_ON(&packet_sequence_checker_);
rtp_rtcp_->SetRTCPStatus(mode);
}
private:
RTC_NO_UNIQUE_ADDRESS SequenceChecker packet_sequence_checker_;