Add periodic compound packet sending to RtcpTransceiver
Bug: webrtc:8239 Change-Id: I1511db63a15e8c5101a933e55e66d3877ff963be Reviewed-on: https://webrtc-review.googlesource.com/15440 Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20480}
This commit is contained in:

committed by
Commit Bot

parent
e5c4265619
commit
8c8d49ea0f
@ -17,6 +17,7 @@
|
||||
#include "api/array_view.h"
|
||||
#include "modules/rtp_rtcp/source/rtcp_transceiver_config.h"
|
||||
#include "rtc_base/constructormagic.h"
|
||||
#include "rtc_base/weak_ptr.h"
|
||||
|
||||
namespace webrtc {
|
||||
//
|
||||
@ -32,8 +33,14 @@ class RtcpTransceiverImpl {
|
||||
void SendCompoundPacket();
|
||||
|
||||
private:
|
||||
void ReschedulePeriodicCompoundPackets(int64_t delay_ms);
|
||||
// Sends RTCP packets.
|
||||
void SendPacket();
|
||||
|
||||
const RtcpTransceiverConfig config_;
|
||||
|
||||
rtc::WeakPtrFactory<RtcpTransceiverImpl> ptr_factory_;
|
||||
|
||||
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RtcpTransceiverImpl);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user