Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side 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: Rebased. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 bool Sending() const; 89 bool Sending() const;
90 int32_t SetSendingStatus(const FeedbackState& feedback_state, 90 int32_t SetSendingStatus(const FeedbackState& feedback_state,
91 bool enabled); // combine the functions 91 bool enabled); // combine the functions
92 92
93 int32_t SetNackStatus(bool enable); 93 int32_t SetNackStatus(bool enable);
94 94
95 void SetTimestampOffset(uint32_t timestamp_offset); 95 void SetTimestampOffset(uint32_t timestamp_offset);
96 96
97 void SetLastRtpTime(uint32_t rtp_timestamp, int64_t capture_time_ms); 97 void SetLastRtpTime(uint32_t rtp_timestamp, int64_t capture_time_ms);
98 98
99 uint32_t SSRC() const;
100
99 void SetSSRC(uint32_t ssrc); 101 void SetSSRC(uint32_t ssrc);
100 102
101 void SetRemoteSSRC(uint32_t ssrc); 103 void SetRemoteSSRC(uint32_t ssrc);
102 104
103 int32_t SetCNAME(const char* cName); 105 int32_t SetCNAME(const char* cName);
104 106
105 int32_t AddMixedCNAME(uint32_t SSRC, const char* c_name); 107 int32_t AddMixedCNAME(uint32_t SSRC, const char* c_name);
106 108
107 int32_t RemoveMixedCNAME(uint32_t SSRC); 109 int32_t RemoveMixedCNAME(uint32_t SSRC);
108 110
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 typedef std::unique_ptr<rtcp::RtcpPacket> (RTCPSender::*BuilderFunc)( 283 typedef std::unique_ptr<rtcp::RtcpPacket> (RTCPSender::*BuilderFunc)(
282 const RtcpContext&); 284 const RtcpContext&);
283 // Map from RTCPPacketType to builder. 285 // Map from RTCPPacketType to builder.
284 std::map<uint32_t, BuilderFunc> builders_; 286 std::map<uint32_t, BuilderFunc> builders_;
285 287
286 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTCPSender); 288 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTCPSender);
287 }; 289 };
288 } // namespace webrtc 290 } // namespace webrtc
289 291
290 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_SENDER_H_ 292 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_SENDER_H_
OLDNEW
« no previous file with comments | « webrtc/call/flexfec_receive_stream_impl.cc ('k') | webrtc/modules/rtp_rtcp/source/rtcp_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698