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

Side by Side Diff: webrtc/media/engine/webrtcvoiceengine_unittest.cc

Issue 1917193008: Adding getParameters/setParameters APIs to RtpReceiver. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: objc compile errors Created 4 years, 7 months 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 unified diff | Download patch
« no previous file with comments | « webrtc/media/engine/webrtcvoiceengine.cc ('k') | webrtc/pc/channel.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2008 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2008 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 EXPECT_EQ(expected_result, channel_->SetSendParameters(parameters)); 227 EXPECT_EQ(expected_result, channel_->SetSendParameters(parameters));
228 228
229 int channel_num = voe_.GetLastChannel(); 229 int channel_num = voe_.GetLastChannel();
230 webrtc::CodecInst temp_codec; 230 webrtc::CodecInst temp_codec;
231 EXPECT_FALSE(voe_.GetSendCodec(channel_num, temp_codec)); 231 EXPECT_FALSE(voe_.GetSendCodec(channel_num, temp_codec));
232 EXPECT_EQ(expected_bitrate, temp_codec.rate); 232 EXPECT_EQ(expected_bitrate, temp_codec.rate);
233 } 233 }
234 234
235 // Sets the per-stream maximum bitrate limit for the specified SSRC. 235 // Sets the per-stream maximum bitrate limit for the specified SSRC.
236 bool SetMaxBitrateForStream(int32_t ssrc, int bitrate) { 236 bool SetMaxBitrateForStream(int32_t ssrc, int bitrate) {
237 webrtc::RtpParameters parameters = channel_->GetRtpParameters(ssrc); 237 webrtc::RtpParameters parameters = channel_->GetRtpSendParameters(ssrc);
238 EXPECT_EQ(1UL, parameters.encodings.size()); 238 EXPECT_EQ(1UL, parameters.encodings.size());
239 239
240 parameters.encodings[0].max_bitrate_bps = bitrate; 240 parameters.encodings[0].max_bitrate_bps = bitrate;
241 return channel_->SetRtpParameters(ssrc, parameters); 241 return channel_->SetRtpSendParameters(ssrc, parameters);
242 } 242 }
243 243
244 bool SetGlobalMaxBitrate(const cricket::AudioCodec& codec, int bitrate) { 244 bool SetGlobalMaxBitrate(const cricket::AudioCodec& codec, int bitrate) {
245 cricket::AudioSendParameters send_parameters; 245 cricket::AudioSendParameters send_parameters;
246 send_parameters.codecs.push_back(codec); 246 send_parameters.codecs.push_back(codec);
247 send_parameters.max_bandwidth_bps = bitrate; 247 send_parameters.max_bandwidth_bps = bitrate;
248 return channel_->SetSendParameters(send_parameters); 248 return channel_->SetSendParameters(send_parameters);
249 } 249 }
250 250
251 int GetCodecBitrate(int32_t ssrc) { 251 int GetCodecBitrate(int32_t ssrc) {
(...skipping 14 matching lines...) Expand all
266 // Clear the bitrate limit from the previous test case. 266 // Clear the bitrate limit from the previous test case.
267 EXPECT_TRUE(SetMaxBitrateForStream(kSsrc1, -1)); 267 EXPECT_TRUE(SetMaxBitrateForStream(kSsrc1, -1));
268 268
269 // Attempt to set the requested bitrate limits. 269 // Attempt to set the requested bitrate limits.
270 EXPECT_TRUE(SetGlobalMaxBitrate(codec, global_max)); 270 EXPECT_TRUE(SetGlobalMaxBitrate(codec, global_max));
271 EXPECT_EQ(expected_result, SetMaxBitrateForStream(kSsrc1, stream_max)); 271 EXPECT_EQ(expected_result, SetMaxBitrateForStream(kSsrc1, stream_max));
272 272
273 // Verify that reading back the parameters gives results 273 // Verify that reading back the parameters gives results
274 // consistent with the Set() result. 274 // consistent with the Set() result.
275 webrtc::RtpParameters resulting_parameters = 275 webrtc::RtpParameters resulting_parameters =
276 channel_->GetRtpParameters(kSsrc1); 276 channel_->GetRtpSendParameters(kSsrc1);
277 EXPECT_EQ(1UL, resulting_parameters.encodings.size()); 277 EXPECT_EQ(1UL, resulting_parameters.encodings.size());
278 EXPECT_EQ(expected_result ? stream_max : -1, 278 EXPECT_EQ(expected_result ? stream_max : -1,
279 resulting_parameters.encodings[0].max_bitrate_bps); 279 resulting_parameters.encodings[0].max_bitrate_bps);
280 280
281 // Verify that the codec settings have the expected bitrate. 281 // Verify that the codec settings have the expected bitrate.
282 EXPECT_EQ(expected_codec_bitrate, GetCodecBitrate(kSsrc1)); 282 EXPECT_EQ(expected_codec_bitrate, GetCodecBitrate(kSsrc1));
283 } 283 }
284 284
285 void TestSetSendRtpHeaderExtensions(const std::string& ext) { 285 void TestSetSendRtpHeaderExtensions(const std::string& ext) {
286 EXPECT_TRUE(SetupSendStream()); 286 EXPECT_TRUE(SetupSendStream());
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 // CBR codecs don't allow per stream maximums to be too low. 888 // CBR codecs don't allow per stream maximums to be too low.
889 SetAndExpectMaxBitrate(kPcmuCodec, 0, 63999, false, 64000); 889 SetAndExpectMaxBitrate(kPcmuCodec, 0, 63999, false, 64000);
890 SetAndExpectMaxBitrate(kPcmuCodec, 64001, 63999, false, 64000); 890 SetAndExpectMaxBitrate(kPcmuCodec, 64001, 63999, false, 64000);
891 } 891 }
892 892
893 // Test that an attempt to set RtpParameters for a stream that does not exist 893 // Test that an attempt to set RtpParameters for a stream that does not exist
894 // fails. 894 // fails.
895 TEST_F(WebRtcVoiceEngineTestFake, CannotSetMaxBitrateForNonexistentStream) { 895 TEST_F(WebRtcVoiceEngineTestFake, CannotSetMaxBitrateForNonexistentStream) {
896 EXPECT_TRUE(SetupChannel()); 896 EXPECT_TRUE(SetupChannel());
897 webrtc::RtpParameters nonexistent_parameters = 897 webrtc::RtpParameters nonexistent_parameters =
898 channel_->GetRtpParameters(kSsrc1); 898 channel_->GetRtpSendParameters(kSsrc1);
899 EXPECT_EQ(0, nonexistent_parameters.encodings.size()); 899 EXPECT_EQ(0, nonexistent_parameters.encodings.size());
900 900
901 nonexistent_parameters.encodings.push_back(webrtc::RtpEncodingParameters()); 901 nonexistent_parameters.encodings.push_back(webrtc::RtpEncodingParameters());
902 EXPECT_FALSE(channel_->SetRtpParameters(kSsrc1, nonexistent_parameters)); 902 EXPECT_FALSE(channel_->SetRtpSendParameters(kSsrc1, nonexistent_parameters));
903 } 903 }
904 904
905 TEST_F(WebRtcVoiceEngineTestFake, 905 TEST_F(WebRtcVoiceEngineTestFake,
906 CannotSetRtpParametersWithIncorrectNumberOfEncodings) { 906 CannotSetRtpSendParametersWithIncorrectNumberOfEncodings) {
907 // This test verifies that setting RtpParameters succeeds only if 907 // This test verifies that setting RtpParameters succeeds only if
908 // the structure contains exactly one encoding. 908 // the structure contains exactly one encoding.
909 // TODO(skvlad): Update this test when we start supporting setting parameters 909 // TODO(skvlad): Update this test when we start supporting setting parameters
910 // for each encoding individually. 910 // for each encoding individually.
911 911
912 EXPECT_TRUE(SetupSendStream()); 912 EXPECT_TRUE(SetupSendStream());
913 // Setting RtpParameters with no encoding is expected to fail. 913 // Setting RtpParameters with no encoding is expected to fail.
914 webrtc::RtpParameters parameters; 914 webrtc::RtpParameters parameters;
915 EXPECT_FALSE(channel_->SetRtpParameters(kSsrc1, parameters)); 915 EXPECT_FALSE(channel_->SetRtpSendParameters(kSsrc1, parameters));
916 // Setting RtpParameters with exactly one encoding should succeed. 916 // Setting RtpParameters with exactly one encoding should succeed.
917 parameters.encodings.push_back(webrtc::RtpEncodingParameters()); 917 parameters.encodings.push_back(webrtc::RtpEncodingParameters());
918 EXPECT_TRUE(channel_->SetRtpParameters(kSsrc1, parameters)); 918 EXPECT_TRUE(channel_->SetRtpSendParameters(kSsrc1, parameters));
919 // Two or more encodings should result in failure. 919 // Two or more encodings should result in failure.
920 parameters.encodings.push_back(webrtc::RtpEncodingParameters()); 920 parameters.encodings.push_back(webrtc::RtpEncodingParameters());
921 EXPECT_FALSE(channel_->SetRtpParameters(kSsrc1, parameters)); 921 EXPECT_FALSE(channel_->SetRtpSendParameters(kSsrc1, parameters));
922 } 922 }
923 923
924 // Test that a stream will not be sending if its encoding is made 924 // Test that a stream will not be sending if its encoding is made
925 // inactive through SetRtpParameters. 925 // inactive through SetRtpSendParameters.
926 TEST_F(WebRtcVoiceEngineTestFake, SetRtpParametersEncodingsActive) { 926 TEST_F(WebRtcVoiceEngineTestFake, SetRtpParametersEncodingsActive) {
927 EXPECT_TRUE(SetupSendStream()); 927 EXPECT_TRUE(SetupSendStream());
928 SetSend(channel_, true); 928 SetSend(channel_, true);
929 EXPECT_TRUE(GetSendStream(kSsrc1).IsSending()); 929 EXPECT_TRUE(GetSendStream(kSsrc1).IsSending());
930 // Get current parameters and change "active" to false. 930 // Get current parameters and change "active" to false.
931 webrtc::RtpParameters parameters = channel_->GetRtpParameters(kSsrc1); 931 webrtc::RtpParameters parameters = channel_->GetRtpSendParameters(kSsrc1);
932 ASSERT_EQ(1u, parameters.encodings.size()); 932 ASSERT_EQ(1u, parameters.encodings.size());
933 ASSERT_TRUE(parameters.encodings[0].active); 933 ASSERT_TRUE(parameters.encodings[0].active);
934 parameters.encodings[0].active = false; 934 parameters.encodings[0].active = false;
935 EXPECT_TRUE(channel_->SetRtpParameters(kSsrc1, parameters)); 935 EXPECT_TRUE(channel_->SetRtpSendParameters(kSsrc1, parameters));
936 EXPECT_FALSE(GetSendStream(kSsrc1).IsSending()); 936 EXPECT_FALSE(GetSendStream(kSsrc1).IsSending());
937 937
938 // Now change it back to active and verify we resume sending. 938 // Now change it back to active and verify we resume sending.
939 parameters.encodings[0].active = true; 939 parameters.encodings[0].active = true;
940 EXPECT_TRUE(channel_->SetRtpParameters(kSsrc1, parameters)); 940 EXPECT_TRUE(channel_->SetRtpSendParameters(kSsrc1, parameters));
941 EXPECT_TRUE(GetSendStream(kSsrc1).IsSending()); 941 EXPECT_TRUE(GetSendStream(kSsrc1).IsSending());
942 } 942 }
943 943
944 // Test that SetRtpParameters configures the correct encoding channel for each 944 // Test that SetRtpSendParameters configures the correct encoding channel for
945 // SSRC. 945 // each SSRC.
946 TEST_F(WebRtcVoiceEngineTestFake, RtpParametersArePerStream) { 946 TEST_F(WebRtcVoiceEngineTestFake, RtpParametersArePerStream) {
947 SetupForMultiSendStream(); 947 SetupForMultiSendStream();
948 // Create send streams. 948 // Create send streams.
949 for (uint32_t ssrc : kSsrcs4) { 949 for (uint32_t ssrc : kSsrcs4) {
950 EXPECT_TRUE( 950 EXPECT_TRUE(
951 channel_->AddSendStream(cricket::StreamParams::CreateLegacy(ssrc))); 951 channel_->AddSendStream(cricket::StreamParams::CreateLegacy(ssrc)));
952 } 952 }
953 // Configure one stream to be limited by the stream config, another to be 953 // Configure one stream to be limited by the stream config, another to be
954 // limited by the global max, and the third one with no per-stream limit 954 // limited by the global max, and the third one with no per-stream limit
955 // (still subject to the global limit). 955 // (still subject to the global limit).
956 EXPECT_TRUE(SetGlobalMaxBitrate(kOpusCodec, 64000)); 956 EXPECT_TRUE(SetGlobalMaxBitrate(kOpusCodec, 64000));
957 EXPECT_TRUE(SetMaxBitrateForStream(kSsrcs4[0], 48000)); 957 EXPECT_TRUE(SetMaxBitrateForStream(kSsrcs4[0], 48000));
958 EXPECT_TRUE(SetMaxBitrateForStream(kSsrcs4[1], 96000)); 958 EXPECT_TRUE(SetMaxBitrateForStream(kSsrcs4[1], 96000));
959 EXPECT_TRUE(SetMaxBitrateForStream(kSsrcs4[2], -1)); 959 EXPECT_TRUE(SetMaxBitrateForStream(kSsrcs4[2], -1));
960 960
961 EXPECT_EQ(48000, GetCodecBitrate(kSsrcs4[0])); 961 EXPECT_EQ(48000, GetCodecBitrate(kSsrcs4[0]));
962 EXPECT_EQ(64000, GetCodecBitrate(kSsrcs4[1])); 962 EXPECT_EQ(64000, GetCodecBitrate(kSsrcs4[1]));
963 EXPECT_EQ(64000, GetCodecBitrate(kSsrcs4[2])); 963 EXPECT_EQ(64000, GetCodecBitrate(kSsrcs4[2]));
964 964
965 // Remove the global cap; the streams should switch to their respective 965 // Remove the global cap; the streams should switch to their respective
966 // maximums (or remain unchanged if there was no other limit on them.) 966 // maximums (or remain unchanged if there was no other limit on them.)
967 EXPECT_TRUE(SetGlobalMaxBitrate(kOpusCodec, -1)); 967 EXPECT_TRUE(SetGlobalMaxBitrate(kOpusCodec, -1));
968 EXPECT_EQ(48000, GetCodecBitrate(kSsrcs4[0])); 968 EXPECT_EQ(48000, GetCodecBitrate(kSsrcs4[0]));
969 EXPECT_EQ(96000, GetCodecBitrate(kSsrcs4[1])); 969 EXPECT_EQ(96000, GetCodecBitrate(kSsrcs4[1]));
970 EXPECT_EQ(64000, GetCodecBitrate(kSsrcs4[2])); 970 EXPECT_EQ(64000, GetCodecBitrate(kSsrcs4[2]));
971 } 971 }
972 972
973 // Test that GetRtpParameters returns the currently configured codecs. 973 // Test that GetRtpSendParameters returns the currently configured codecs.
974 TEST_F(WebRtcVoiceEngineTestFake, GetRtpParametersCodecs) { 974 TEST_F(WebRtcVoiceEngineTestFake, GetRtpSendParametersCodecs) {
975 EXPECT_TRUE(SetupSendStream()); 975 EXPECT_TRUE(SetupSendStream());
976 cricket::AudioSendParameters parameters; 976 cricket::AudioSendParameters parameters;
977 parameters.codecs.push_back(kIsacCodec); 977 parameters.codecs.push_back(kIsacCodec);
978 parameters.codecs.push_back(kPcmuCodec); 978 parameters.codecs.push_back(kPcmuCodec);
979 EXPECT_TRUE(channel_->SetSendParameters(parameters)); 979 EXPECT_TRUE(channel_->SetSendParameters(parameters));
980 980
981 webrtc::RtpParameters rtp_parameters = channel_->GetRtpParameters(kSsrc1); 981 webrtc::RtpParameters rtp_parameters = channel_->GetRtpSendParameters(kSsrc1);
982 ASSERT_EQ(2u, rtp_parameters.codecs.size()); 982 ASSERT_EQ(2u, rtp_parameters.codecs.size());
983 EXPECT_EQ(kIsacCodec.id, rtp_parameters.codecs[0].payload_type); 983 EXPECT_EQ(kIsacCodec.ToCodecParameters(), rtp_parameters.codecs[0]);
984 EXPECT_EQ(kIsacCodec.name, rtp_parameters.codecs[0].mime_type); 984 EXPECT_EQ(kPcmuCodec.ToCodecParameters(), rtp_parameters.codecs[1]);
985 EXPECT_EQ(kIsacCodec.clockrate, rtp_parameters.codecs[0].clock_rate);
986 EXPECT_EQ(kIsacCodec.channels, rtp_parameters.codecs[0].channels);
987 EXPECT_EQ(kPcmuCodec.id, rtp_parameters.codecs[1].payload_type);
988 EXPECT_EQ(kPcmuCodec.name, rtp_parameters.codecs[1].mime_type);
989 EXPECT_EQ(kPcmuCodec.clockrate, rtp_parameters.codecs[1].clock_rate);
990 EXPECT_EQ(kPcmuCodec.channels, rtp_parameters.codecs[1].channels);
991 } 985 }
992 986
993 // Test that if we set/get parameters multiple times, we get the same results. 987 // Test that if we set/get parameters multiple times, we get the same results.
994 TEST_F(WebRtcVoiceEngineTestFake, SetAndGetRtpParameters) { 988 TEST_F(WebRtcVoiceEngineTestFake, SetAndGetRtpSendParameters) {
995 EXPECT_TRUE(SetupSendStream()); 989 EXPECT_TRUE(SetupSendStream());
996 cricket::AudioSendParameters parameters; 990 cricket::AudioSendParameters parameters;
997 parameters.codecs.push_back(kIsacCodec); 991 parameters.codecs.push_back(kIsacCodec);
998 parameters.codecs.push_back(kPcmuCodec); 992 parameters.codecs.push_back(kPcmuCodec);
999 EXPECT_TRUE(channel_->SetSendParameters(parameters)); 993 EXPECT_TRUE(channel_->SetSendParameters(parameters));
1000 994
1001 webrtc::RtpParameters initial_params = channel_->GetRtpParameters(kSsrc1); 995 webrtc::RtpParameters initial_params = channel_->GetRtpSendParameters(kSsrc1);
1002 996
1003 // We should be able to set the params we just got. 997 // We should be able to set the params we just got.
1004 EXPECT_TRUE(channel_->SetRtpParameters(kSsrc1, initial_params)); 998 EXPECT_TRUE(channel_->SetRtpSendParameters(kSsrc1, initial_params));
1005 999
1006 // ... And this shouldn't change the params returned by GetRtpParameters. 1000 // ... And this shouldn't change the params returned by GetRtpSendParameters.
1007 webrtc::RtpParameters new_params = channel_->GetRtpParameters(kSsrc1); 1001 webrtc::RtpParameters new_params = channel_->GetRtpSendParameters(kSsrc1);
1008 EXPECT_EQ(initial_params, channel_->GetRtpParameters(kSsrc1)); 1002 EXPECT_EQ(initial_params, channel_->GetRtpSendParameters(kSsrc1));
1003 }
1004
1005 // Test that GetRtpReceiveParameters returns the currently configured codecs.
1006 TEST_F(WebRtcVoiceEngineTestFake, GetRtpReceiveParametersCodecs) {
1007 EXPECT_TRUE(SetupRecvStream());
1008 cricket::AudioRecvParameters parameters;
1009 parameters.codecs.push_back(kIsacCodec);
1010 parameters.codecs.push_back(kPcmuCodec);
1011 EXPECT_TRUE(channel_->SetRecvParameters(parameters));
1012
1013 webrtc::RtpParameters rtp_parameters =
1014 channel_->GetRtpReceiveParameters(kSsrc1);
1015 ASSERT_EQ(2u, rtp_parameters.codecs.size());
1016 EXPECT_EQ(kIsacCodec.ToCodecParameters(), rtp_parameters.codecs[0]);
1017 EXPECT_EQ(kPcmuCodec.ToCodecParameters(), rtp_parameters.codecs[1]);
1018 }
1019
1020 // Test that if we set/get parameters multiple times, we get the same results.
1021 TEST_F(WebRtcVoiceEngineTestFake, SetAndGetRtpReceiveParameters) {
1022 EXPECT_TRUE(SetupRecvStream());
1023 cricket::AudioRecvParameters parameters;
1024 parameters.codecs.push_back(kIsacCodec);
1025 parameters.codecs.push_back(kPcmuCodec);
1026 EXPECT_TRUE(channel_->SetRecvParameters(parameters));
1027
1028 webrtc::RtpParameters initial_params =
1029 channel_->GetRtpReceiveParameters(kSsrc1);
1030
1031 // We should be able to set the params we just got.
1032 EXPECT_TRUE(channel_->SetRtpReceiveParameters(kSsrc1, initial_params));
1033
1034 // ... And this shouldn't change the params returned by
1035 // GetRtpReceiveParameters.
1036 webrtc::RtpParameters new_params = channel_->GetRtpReceiveParameters(kSsrc1);
1037 EXPECT_EQ(initial_params, channel_->GetRtpReceiveParameters(kSsrc1));
1009 } 1038 }
1010 1039
1011 // Test that we apply codecs properly. 1040 // Test that we apply codecs properly.
1012 TEST_F(WebRtcVoiceEngineTestFake, SetSendCodecs) { 1041 TEST_F(WebRtcVoiceEngineTestFake, SetSendCodecs) {
1013 EXPECT_TRUE(SetupSendStream()); 1042 EXPECT_TRUE(SetupSendStream());
1014 cricket::AudioSendParameters parameters; 1043 cricket::AudioSendParameters parameters;
1015 parameters.codecs.push_back(kIsacCodec); 1044 parameters.codecs.push_back(kIsacCodec);
1016 parameters.codecs.push_back(kPcmuCodec); 1045 parameters.codecs.push_back(kPcmuCodec);
1017 parameters.codecs.push_back(kRedCodec); 1046 parameters.codecs.push_back(kRedCodec);
1018 parameters.codecs[0].id = 96; 1047 parameters.codecs[0].id = 96;
(...skipping 2625 matching lines...) Expand 10 before | Expand all | Expand 10 after
3644 TEST(WebRtcVoiceEngineTest, SetRecvCodecs) { 3673 TEST(WebRtcVoiceEngineTest, SetRecvCodecs) {
3645 cricket::WebRtcVoiceEngine engine(nullptr); 3674 cricket::WebRtcVoiceEngine engine(nullptr);
3646 std::unique_ptr<webrtc::Call> call( 3675 std::unique_ptr<webrtc::Call> call(
3647 webrtc::Call::Create(webrtc::Call::Config())); 3676 webrtc::Call::Create(webrtc::Call::Config()));
3648 cricket::WebRtcVoiceMediaChannel channel(&engine, cricket::MediaConfig(), 3677 cricket::WebRtcVoiceMediaChannel channel(&engine, cricket::MediaConfig(),
3649 cricket::AudioOptions(), call.get()); 3678 cricket::AudioOptions(), call.get());
3650 cricket::AudioRecvParameters parameters; 3679 cricket::AudioRecvParameters parameters;
3651 parameters.codecs = engine.codecs(); 3680 parameters.codecs = engine.codecs();
3652 EXPECT_TRUE(channel.SetRecvParameters(parameters)); 3681 EXPECT_TRUE(channel.SetRecvParameters(parameters));
3653 } 3682 }
OLDNEW
« no previous file with comments | « webrtc/media/engine/webrtcvoiceengine.cc ('k') | webrtc/pc/channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698