| OLD | NEW |
| 1 /* | 1 /* |
| 2 * libjingle | 2 * libjingle |
| 3 * Copyright 2004 Google Inc. | 3 * Copyright 2004 Google Inc. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
| 9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
| (...skipping 1345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1356 FAIL() << "Not implemented."; // TODO(pbos): Implement. | 1356 FAIL() << "Not implemented."; // TODO(pbos): Implement. |
| 1357 } | 1357 } |
| 1358 | 1358 |
| 1359 TEST_F(WebRtcVideoChannel2Test, AddRecvStreamOnlyUsesOneReceiveStream) { | 1359 TEST_F(WebRtcVideoChannel2Test, AddRecvStreamOnlyUsesOneReceiveStream) { |
| 1360 EXPECT_TRUE(channel_->AddRecvStream(cricket::StreamParams::CreateLegacy(1))); | 1360 EXPECT_TRUE(channel_->AddRecvStream(cricket::StreamParams::CreateLegacy(1))); |
| 1361 EXPECT_EQ(1u, fake_call_->GetVideoReceiveStreams().size()); | 1361 EXPECT_EQ(1u, fake_call_->GetVideoReceiveStreams().size()); |
| 1362 } | 1362 } |
| 1363 | 1363 |
| 1364 TEST_F(WebRtcVideoChannel2Test, RtcpIsCompoundByDefault) { | 1364 TEST_F(WebRtcVideoChannel2Test, RtcpIsCompoundByDefault) { |
| 1365 FakeVideoReceiveStream* stream = AddRecvStream(); | 1365 FakeVideoReceiveStream* stream = AddRecvStream(); |
| 1366 EXPECT_EQ(webrtc::newapi::kRtcpCompound, stream->GetConfig().rtp.rtcp_mode); | 1366 EXPECT_EQ(webrtc::RtcpMode::kCompound, stream->GetConfig().rtp.rtcp_mode); |
| 1367 } | 1367 } |
| 1368 | 1368 |
| 1369 TEST_F(WebRtcVideoChannel2Test, RembIsEnabledByDefault) { | 1369 TEST_F(WebRtcVideoChannel2Test, RembIsEnabledByDefault) { |
| 1370 FakeVideoReceiveStream* stream = AddRecvStream(); | 1370 FakeVideoReceiveStream* stream = AddRecvStream(); |
| 1371 EXPECT_TRUE(stream->GetConfig().rtp.remb); | 1371 EXPECT_TRUE(stream->GetConfig().rtp.remb); |
| 1372 } | 1372 } |
| 1373 | 1373 |
| 1374 TEST_F(WebRtcVideoChannel2Test, RembCanBeEnabledAndDisabled) { | 1374 TEST_F(WebRtcVideoChannel2Test, RembCanBeEnabledAndDisabled) { |
| 1375 FakeVideoReceiveStream* stream = AddRecvStream(); | 1375 FakeVideoReceiveStream* stream = AddRecvStream(); |
| 1376 EXPECT_TRUE(stream->GetConfig().rtp.remb); | 1376 EXPECT_TRUE(stream->GetConfig().rtp.remb); |
| (...skipping 1824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3201 // Ensures that the correct settings are applied to the codec when two temporal | 3201 // Ensures that the correct settings are applied to the codec when two temporal |
| 3202 // layer screencasting is enabled, and that the correct simulcast settings are | 3202 // layer screencasting is enabled, and that the correct simulcast settings are |
| 3203 // reapplied when disabling screencasting. | 3203 // reapplied when disabling screencasting. |
| 3204 TEST_F(WebRtcVideoChannel2SimulcastTest, | 3204 TEST_F(WebRtcVideoChannel2SimulcastTest, |
| 3205 DISABLED_TwoTemporalLayerScreencastSettings) { | 3205 DISABLED_TwoTemporalLayerScreencastSettings) { |
| 3206 // TODO(pbos): Implement. | 3206 // TODO(pbos): Implement. |
| 3207 FAIL() << "Not implemented."; | 3207 FAIL() << "Not implemented."; |
| 3208 } | 3208 } |
| 3209 | 3209 |
| 3210 } // namespace cricket | 3210 } // namespace cricket |
| OLD | NEW |