Revert "RtpRtcp modules and below: Make media, RTX and FEC SSRCs const"
This reverts commit 17608dc4592fe25c1effdd75bf856f4af251942e. Reason for revert: Breaks downstream build Original change's description: > RtpRtcp modules and below: Make media, RTX and FEC SSRCs const > > Downstream usage of SetSsrc() / SetRtxSsrc() should now be gone. Let's > remove them, make the members const, and remove now unnecessary locking. > > Bug: webrtc:10774 > Change-Id: Ie4c1b3935508cf329c5553030f740c565d32e04b > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/155660 > Commit-Queue: Erik Språng <sprang@webrtc.org> > Reviewed-by: Niels Moller <nisse@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#29475} TBR=nisse@webrtc.org,sprang@webrtc.org Change-Id: Idc60f26f34dd0456a40c72375ae829e25b28621f No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:10774 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/157046 Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29483}
This commit is contained in:
@ -94,7 +94,10 @@ class ModuleRtpRtcpImpl : public RtpRtcp, public RTCPReceiver::ModuleRtpRtcp {
|
||||
RtpState GetRtpState() const override;
|
||||
RtpState GetRtxState() const override;
|
||||
|
||||
uint32_t SSRC() const override { return rtcp_sender_.SSRC(); }
|
||||
uint32_t SSRC() const override;
|
||||
|
||||
// Configure SSRC, default is a random number.
|
||||
void SetSSRC(uint32_t ssrc) override;
|
||||
|
||||
void SetRid(const std::string& rid) override;
|
||||
|
||||
@ -107,6 +110,8 @@ class ModuleRtpRtcpImpl : public RtpRtcp, public RTCPReceiver::ModuleRtpRtcp {
|
||||
void SetRtxSendStatus(int mode) override;
|
||||
int RtxSendStatus() const override;
|
||||
|
||||
void SetRtxSsrc(uint32_t ssrc) override;
|
||||
|
||||
void SetRtxSendPayloadType(int payload_type,
|
||||
int associated_payload_type) override;
|
||||
|
||||
@ -297,6 +302,7 @@ class ModuleRtpRtcpImpl : public RtpRtcp, public RTCPReceiver::ModuleRtpRtcp {
|
||||
private:
|
||||
FRIEND_TEST_ALL_PREFIXES(RtpRtcpImplTest, Rtt);
|
||||
FRIEND_TEST_ALL_PREFIXES(RtpRtcpImplTest, RttForReceiverOnly);
|
||||
void SetRtcpReceiverSsrcs(uint32_t main_ssrc);
|
||||
|
||||
void set_rtt_ms(int64_t rtt_ms);
|
||||
int64_t rtt_ms() const;
|
||||
|
||||
Reference in New Issue
Block a user