Add RTP sequence number to TransportFeedbackObserver::AddPacket()
With this change, both the normal RTP and the transport-wide sequence numbers are propagated with with AddPacket() call via a new RtpPacketSendInfo struct, replacing the previous set of parameters. The intent with this is that SendTimeHistory can hold a mapping from transport-wide to rtp sequence numbers, and then via callbacks let the RTP modules know when packets have been received by the remote end. Bug: webrtc:8975 Change-Id: I6a24fc6282cbb041393752d39593c2867b242192 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/133021 Commit-Queue: Erik Språng <sprang@webrtc.org> Reviewed-by: Stefan Holmer <stefan@webrtc.org> Reviewed-by: Sebastian Jansson <srte@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27708}
This commit is contained in:
@ -84,9 +84,7 @@ class MockRtcpCallbackImpl : public RtcpStatisticsCallback {
|
||||
|
||||
class MockTransportFeedbackObserver : public TransportFeedbackObserver {
|
||||
public:
|
||||
MOCK_METHOD3(AddPacket, void(uint32_t, uint16_t, size_t));
|
||||
MOCK_METHOD4(AddPacket,
|
||||
void(uint32_t, uint16_t, size_t, const PacedPacketInfo&));
|
||||
MOCK_METHOD1(OnAddPacket, void(const RtpPacketSendInfo&));
|
||||
MOCK_METHOD1(OnTransportFeedback, void(const rtcp::TransportFeedback&));
|
||||
MOCK_CONST_METHOD0(GetTransportFeedbackVector, std::vector<PacketFeedback>());
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user