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

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

Issue 1746773002: [rtp_rtcp] tmmbr helper simplified by moving set_to_send member out (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/rtcp_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 977c1ff43a04579abd227c6c914513999f663dd8..409db3fab28c8db9415b1e2ff4116b5413dae5bd 100644
--- a/webrtc/modules/rtp_rtcp/source/rtcp_sender.h
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_sender.h
@@ -132,7 +132,7 @@ class RTCPSender {
void SetTMMBRStatus(bool enable);
- int32_t SetTMMBN(const TMMBRSet* boundingSet);
+ void SetTMMBN(const TMMBRSet* boundingSet);
philipel 2016/03/04 10:49:27 While you are at it, change to const TMMBRSet& ins
danilchap 2016/03/04 14:06:13 Unfortunately right now caller can't guarantee non
int32_t SetApplicationSpecificData(uint8_t subType,
uint32_t name,
@@ -238,6 +238,8 @@ class RTCPSender {
std::vector<uint32_t> remb_ssrcs_ GUARDED_BY(critical_section_rtcp_sender_);
TMMBRHelp tmmbr_help_ GUARDED_BY(critical_section_rtcp_sender_);
+ std::vector<rtcp::TmmbItem> tmmbn_to_send_
philipel 2016/03/04 10:49:27 Don't you think it would be clearer to use a TMMBR
danilchap 2016/03/04 14:06:13 Yes, it is inconsistent with SetTMMBN function, bu
+ GUARDED_BY(critical_section_rtcp_sender_);
uint32_t tmmbr_send_ GUARDED_BY(critical_section_rtcp_sender_);
uint32_t packet_oh_send_ GUARDED_BY(critical_section_rtcp_sender_);
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/rtcp_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698