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

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

Issue 1827953002: Make rtcp sender use max transfer unit. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
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 5183b56b9ff97490a3df76cffcaf506de1ab49d6..88859c18554698b330fa9aa140beae36230c947c 100644
--- a/webrtc/modules/rtp_rtcp/source/rtcp_sender.h
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_sender.h
@@ -132,6 +132,8 @@ class RTCPSender {
void SetTMMBRStatus(bool enable);
+ void SetMaxPayloadLength(size_t max_payload_length, uint16_t packet_overhead);
+
int32_t SetTMMBN(const TMMBRSet* boundingSet);
int32_t SetApplicationSpecificData(uint8_t subType,
@@ -239,7 +241,8 @@ class RTCPSender {
TMMBRHelp tmmbr_help_ 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_);
+ uint32_t packet_overhead_ GUARDED_BY(critical_section_rtcp_sender_);
+ size_t max_payload_length_;
åsapersson 2016/03/30 10:28:36 guarded by?
danilchap 2016/03/30 12:38:24 Not guarded: value is primitive, set independently
// APP
uint8_t app_sub_type_ GUARDED_BY(critical_section_rtcp_sender_);
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/rtcp_sender.cc » ('j') | webrtc/modules/rtp_rtcp/source/rtcp_sender.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698