Set StreamDataCountersCallback on construction of RTP modules
This CL sets the RTP stats callback on construction, by adding a field next to the other observers in RtpRtcp::Configuration. We can then remove the RegisterCallback() methods and the unused GetCallback() method. Bug: webrtc:11036 Change-Id: I4eb86ea63b4b2ebeff60b311ddf3bed06b279ce4 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/157169 Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29504}
This commit is contained in:
@ -260,11 +260,6 @@ class ModuleRtpRtcpImpl : public RtpRtcp, public RTCPReceiver::ModuleRtpRtcp {
|
||||
uint32_t* fec_rate,
|
||||
uint32_t* nackRate) const override;
|
||||
|
||||
void RegisterSendChannelRtpStatisticsCallback(
|
||||
StreamDataCountersCallback* callback) override;
|
||||
StreamDataCountersCallback* GetSendChannelRtpStatisticsCallback()
|
||||
const override;
|
||||
|
||||
void OnReceivedNack(
|
||||
const std::vector<uint16_t>& nack_sequence_numbers) override;
|
||||
void OnReceivedRtcpReportBlocks(
|
||||
|
Reference in New Issue
Block a user