Move legacy RtpRtcpModule to deferred sequencing.
Bug: webrtc:11340 Change-Id: I45ba6c37fe7fec8de756dee1eb914aceebbeae93 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/228437 Commit-Queue: Erik Språng <sprang@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34734}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
7fa3f40626
commit
5f1d406cc9
@ -566,6 +566,7 @@ TEST_F(RtpRtcpImplTest, StoresPacketInfoForSentPackets) {
|
||||
const uint32_t kStartTimestamp = 1u;
|
||||
SetUp();
|
||||
sender_.impl_->SetStartTimestamp(kStartTimestamp);
|
||||
sender_.impl_->SetSequenceNumber(1);
|
||||
|
||||
PacedPacketInfo pacing_info;
|
||||
RtpPacketToSend packet(nullptr);
|
||||
@ -574,7 +575,6 @@ TEST_F(RtpRtcpImplTest, StoresPacketInfoForSentPackets) {
|
||||
|
||||
// Single-packet frame.
|
||||
packet.SetTimestamp(1);
|
||||
packet.SetSequenceNumber(1);
|
||||
packet.set_first_packet_of_frame(true);
|
||||
packet.SetMarker(true);
|
||||
sender_.impl_->TrySendPacket(&packet, pacing_info);
|
||||
@ -589,16 +589,13 @@ TEST_F(RtpRtcpImplTest, StoresPacketInfoForSentPackets) {
|
||||
|
||||
// Three-packet frame.
|
||||
packet.SetTimestamp(2);
|
||||
packet.SetSequenceNumber(2);
|
||||
packet.set_first_packet_of_frame(true);
|
||||
packet.SetMarker(false);
|
||||
sender_.impl_->TrySendPacket(&packet, pacing_info);
|
||||
|
||||
packet.SetSequenceNumber(3);
|
||||
packet.set_first_packet_of_frame(false);
|
||||
sender_.impl_->TrySendPacket(&packet, pacing_info);
|
||||
|
||||
packet.SetSequenceNumber(4);
|
||||
packet.SetMarker(true);
|
||||
sender_.impl_->TrySendPacket(&packet, pacing_info);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user