Remove the audio/video split for the RTCP report intervals.
This is a follow up of a comment in https://webrtc-review.googlesource.com/c/src/+/110105 It was not very useful to split the audio and video report interval since the RTCP module can only either be audio or video. The recent it was written that way in https://webrtc-review.googlesource.com/c/src/+/43201/ was because that was a straightforward transition from two global constants to two variable. Bug: webrtc:8789 Change-Id: I2293de14ba5f363351f379a02022ed5dc7b8d458 Reviewed-on: https://webrtc-review.googlesource.com/c/110824 Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org> Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Jiawei Ou <ouj@fb.com> Cr-Commit-Position: refs/heads/master@{#25741}
This commit is contained in:
@ -68,7 +68,7 @@ class RTCPSender {
|
||||
RtcpPacketTypeCounterObserver* packet_type_counter_observer,
|
||||
RtcEventLog* event_log,
|
||||
Transport* outgoing_transport,
|
||||
RtcpIntervalConfig interval_config);
|
||||
int report_interval_ms);
|
||||
virtual ~RTCPSender();
|
||||
|
||||
RtcpMode Status() const;
|
||||
@ -141,9 +141,6 @@ class RTCPSender {
|
||||
void SetVideoBitrateAllocation(const VideoBitrateAllocation& bitrate);
|
||||
bool SendFeedbackPacket(const rtcp::TransportFeedback& packet);
|
||||
|
||||
int64_t RtcpAudioReportInverval() const;
|
||||
int64_t RtcpVideoReportInverval() const;
|
||||
|
||||
private:
|
||||
class RtcpContext;
|
||||
|
||||
@ -190,7 +187,7 @@ class RTCPSender {
|
||||
RtcEventLog* const event_log_;
|
||||
Transport* const transport_;
|
||||
|
||||
const RtcpIntervalConfig interval_config_;
|
||||
const int report_interval_ms_;
|
||||
|
||||
rtc::CriticalSection critical_section_rtcp_sender_;
|
||||
bool sending_ RTC_GUARDED_BY(critical_section_rtcp_sender_);
|
||||
|
Reference in New Issue
Block a user