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}
diff --git a/call/flexfec_receive_stream.h b/call/flexfec_receive_stream.h
index b54eadd..7c8cd2e 100644
--- a/call/flexfec_receive_stream.h
+++ b/call/flexfec_receive_stream.h
@@ -59,6 +59,12 @@
// Transport for outgoing RTCP packets.
Transport* rtcp_send_transport = nullptr;
};
+
+ // TODO(tommi): FlexfecReceiveStream inherits from ReceiveStreamInterface,
+ // not VideoReceiveStreamInterface where there's also a SetRtcpMode method.
+ // Perhaps this should be in ReceiveStreamInterface and apply to audio streams
+ // as well (although there's no logic that would use it at present).
+ virtual void SetRtcpMode(RtcpMode mode) = 0;
};
} // namespace webrtc