Index: webrtc/video/end_to_end_tests.cc |
diff --git a/webrtc/video/end_to_end_tests.cc b/webrtc/video/end_to_end_tests.cc |
index b3d667ef72709c44aa125e0f263713481b8dc9e1..14e370e2512e171b6a01209fef7d42c1dcfb35fd 100644 |
--- a/webrtc/video/end_to_end_tests.cc |
+++ b/webrtc/video/end_to_end_tests.cc |
@@ -531,10 +531,10 @@ |
} else { |
// Send a NACK as often as necessary until retransmission is received. |
rtcp::Nack nack; |
- nack.SetSenderSsrc(local_ssrc_); |
- nack.SetMediaSsrc(remote_ssrc_); |
+ nack.From(local_ssrc_); |
+ nack.To(remote_ssrc_); |
uint16_t nack_list[] = {*sequence_number_to_retransmit_}; |
- nack.SetPacketIds(nack_list, 1); |
+ nack.WithList(nack_list, 1); |
rtc::Buffer buffer = nack.Build(); |
EXPECT_TRUE(receive_transport_->SendRtcp(buffer.data(), buffer.size())); |