| 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 1249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1260 | 1260 |
| 1261 TEST_F(WebRtcVideoChannel2Test, DISABLED_AdditiveVideoOptions) { | 1261 TEST_F(WebRtcVideoChannel2Test, DISABLED_AdditiveVideoOptions) { |
| 1262 FAIL() << "Not implemented."; // TODO(pbos): Implement. | 1262 FAIL() << "Not implemented."; // TODO(pbos): Implement. |
| 1263 } | 1263 } |
| 1264 | 1264 |
| 1265 TEST_F(WebRtcVideoChannel2Test, AddRecvStreamOnlyUsesOneReceiveStream) { | 1265 TEST_F(WebRtcVideoChannel2Test, AddRecvStreamOnlyUsesOneReceiveStream) { |
| 1266 EXPECT_TRUE(channel_->AddRecvStream(cricket::StreamParams::CreateLegacy(1))); | 1266 EXPECT_TRUE(channel_->AddRecvStream(cricket::StreamParams::CreateLegacy(1))); |
| 1267 EXPECT_EQ(1u, fake_call_->GetVideoReceiveStreams().size()); | 1267 EXPECT_EQ(1u, fake_call_->GetVideoReceiveStreams().size()); |
| 1268 } | 1268 } |
| 1269 | 1269 |
| 1270 TEST_F(WebRtcVideoChannel2Test, RtcpIsCompoundByDefault) { |
| 1271 FakeVideoReceiveStream* stream = AddRecvStream(); |
| 1272 EXPECT_EQ(webrtc::newapi::kRtcpCompound, stream->GetConfig().rtp.rtcp_mode); |
| 1273 } |
| 1274 |
| 1270 TEST_F(WebRtcVideoChannel2Test, RembIsEnabledByDefault) { | 1275 TEST_F(WebRtcVideoChannel2Test, RembIsEnabledByDefault) { |
| 1271 FakeVideoReceiveStream* stream = AddRecvStream(); | 1276 FakeVideoReceiveStream* stream = AddRecvStream(); |
| 1272 EXPECT_TRUE(stream->GetConfig().rtp.remb); | 1277 EXPECT_TRUE(stream->GetConfig().rtp.remb); |
| 1273 } | 1278 } |
| 1274 | 1279 |
| 1275 TEST_F(WebRtcVideoChannel2Test, RembCanBeEnabledAndDisabled) { | 1280 TEST_F(WebRtcVideoChannel2Test, RembCanBeEnabledAndDisabled) { |
| 1276 FakeVideoReceiveStream* stream = AddRecvStream(); | 1281 FakeVideoReceiveStream* stream = AddRecvStream(); |
| 1277 EXPECT_TRUE(stream->GetConfig().rtp.remb); | 1282 EXPECT_TRUE(stream->GetConfig().rtp.remb); |
| 1278 | 1283 |
| 1279 // Verify that REMB is turned off when send(!) codecs without REMB are set. | 1284 // Verify that REMB is turned off when send(!) codecs without REMB are set. |
| (...skipping 1739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3019 // Ensures that the correct settings are applied to the codec when two temporal | 3024 // Ensures that the correct settings are applied to the codec when two temporal |
| 3020 // layer screencasting is enabled, and that the correct simulcast settings are | 3025 // layer screencasting is enabled, and that the correct simulcast settings are |
| 3021 // reapplied when disabling screencasting. | 3026 // reapplied when disabling screencasting. |
| 3022 TEST_F(WebRtcVideoChannel2SimulcastTest, | 3027 TEST_F(WebRtcVideoChannel2SimulcastTest, |
| 3023 DISABLED_TwoTemporalLayerScreencastSettings) { | 3028 DISABLED_TwoTemporalLayerScreencastSettings) { |
| 3024 // TODO(pbos): Implement. | 3029 // TODO(pbos): Implement. |
| 3025 FAIL() << "Not implemented."; | 3030 FAIL() << "Not implemented."; |
| 3026 } | 3031 } |
| 3027 | 3032 |
| 3028 } // namespace cricket | 3033 } // namespace cricket |
| OLD | NEW |