Chromium Code Reviews| 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_); |