Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Unified Diff: webrtc/media/engine/webrtcvideoengine2_unittest.cc

Issue 2542413002: Generalize FlexfecReceiveStream::Config. (CL1) (Closed)
Patch Set: Rebase. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/media/engine/webrtcvideoengine2.cc ('k') | webrtc/test/call_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/engine/webrtcvideoengine2_unittest.cc
diff --git a/webrtc/media/engine/webrtcvideoengine2_unittest.cc b/webrtc/media/engine/webrtcvideoengine2_unittest.cc
index b8cd213f1703e8da80ede4d10b970b53b150e95f..b8495b05464e9b8914836d42470e953485e72203 100644
--- a/webrtc/media/engine/webrtcvideoengine2_unittest.cc
+++ b/webrtc/media/engine/webrtcvideoengine2_unittest.cc
@@ -2863,9 +2863,8 @@ TEST_F(WebRtcVideoChannel2FlexfecTest, SetRecvParamsWithoutFecDisablesFec) {
ASSERT_EQ(1U, streams.size());
const FakeFlexfecReceiveStream& stream = streams.front();
- EXPECT_EQ(GetEngineCodec("flexfec-03").id,
- stream.GetConfig().flexfec_payload_type);
- EXPECT_EQ(kFlexfecSsrc, stream.GetConfig().flexfec_ssrc);
+ EXPECT_EQ(GetEngineCodec("flexfec-03").id, stream.GetConfig().payload_type);
+ EXPECT_EQ(kFlexfecSsrc, stream.GetConfig().remote_ssrc);
ASSERT_EQ(1U, stream.GetConfig().protected_media_ssrcs.size());
EXPECT_EQ(kSsrcs1[0], stream.GetConfig().protected_media_ssrcs[0]);
@@ -2918,8 +2917,8 @@ TEST_F(WebRtcVideoChannel2FlexfecTest, SetSendParamsWithFecEnablesFec) {
ASSERT_EQ(1U, streams.size());
const FakeFlexfecReceiveStream& stream_with_recv_params = streams.front();
EXPECT_EQ(GetEngineCodec("flexfec-03").id,
- stream_with_recv_params.GetConfig().flexfec_payload_type);
- EXPECT_EQ(kFlexfecSsrc, stream_with_recv_params.GetConfig().flexfec_ssrc);
+ stream_with_recv_params.GetConfig().payload_type);
+ EXPECT_EQ(kFlexfecSsrc, stream_with_recv_params.GetConfig().remote_ssrc);
EXPECT_EQ(1U,
stream_with_recv_params.GetConfig().protected_media_ssrcs.size());
EXPECT_EQ(kSsrcs1[0],
@@ -2932,8 +2931,8 @@ TEST_F(WebRtcVideoChannel2FlexfecTest, SetSendParamsWithFecEnablesFec) {
ASSERT_EQ(1U, streams.size());
const FakeFlexfecReceiveStream& stream_with_send_params = streams.front();
EXPECT_EQ(GetEngineCodec("flexfec-03").id,
- stream_with_send_params.GetConfig().flexfec_payload_type);
- EXPECT_EQ(kFlexfecSsrc, stream_with_send_params.GetConfig().flexfec_ssrc);
+ stream_with_send_params.GetConfig().payload_type);
+ EXPECT_EQ(kFlexfecSsrc, stream_with_send_params.GetConfig().remote_ssrc);
EXPECT_EQ(1U,
stream_with_send_params.GetConfig().protected_media_ssrcs.size());
EXPECT_EQ(kSsrcs1[0],
« no previous file with comments | « webrtc/media/engine/webrtcvideoengine2.cc ('k') | webrtc/test/call_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698