Remove unnecessary copy of suspended_ssrcs.
Also removing pass-by-value in ctor. Bug: none Change-Id: I09e36fd955c8f306c4a347d8befc6eea38384cb9 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/239183 Auto-Submit: Tommi <tommi@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Tommi <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35427}
This commit is contained in:
@ -96,7 +96,7 @@ class RtpTransportControllerSendInterface {
|
||||
virtual PacketRouter* packet_router() = 0;
|
||||
|
||||
virtual RtpVideoSenderInterface* CreateRtpVideoSender(
|
||||
std::map<uint32_t, RtpState> suspended_ssrcs,
|
||||
const std::map<uint32_t, RtpState>& suspended_ssrcs,
|
||||
// TODO(holmer): Move states into RtpTransportControllerSend.
|
||||
const std::map<uint32_t, RtpPayloadState>& states,
|
||||
const RtpConfig& rtp_config,
|
||||
|
||||
Reference in New Issue
Block a user