Chromium Code Reviews

Unified Diff: webrtc/modules/rtp_rtcp/source/rtcp_sender.h

Issue 2740163002: Don't allocate any RTPSender object for a receive only RtpRtcp module (Closed)
Patch Set: Tolerate SetSendingMediaStatus(false) on receive-only streams. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/modules/rtp_rtcp/source/rtcp_sender.h
diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_sender.h b/webrtc/modules/rtp_rtcp/source/rtcp_sender.h
index c9088c7b97231204f3ba6d1d2b15dc57ec1984f8..0f03ed7d06ebcc98579ab02f7f5f655dfda07885 100644
--- a/webrtc/modules/rtp_rtcp/source/rtcp_sender.h
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_sender.h
@@ -97,6 +97,8 @@ class RTCPSender {
void SetLastRtpTime(uint32_t rtp_timestamp, int64_t capture_time_ms);
+ uint32_t SSRC() const;
danilchap 2017/03/16 15:41:12 Ssrc() (no need to introduce functions that break
nisse-webrtc 2017/03/17 09:29:44 In this case, I think consistency with existing me
danilchap 2017/03/17 09:49:38 I don't insist: local consistency is a good argume
+
void SetSSRC(uint32_t ssrc);
void SetRemoteSSRC(uint32_t ssrc);

Powered by Google App Engine