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

Unified Diff: webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc

Issue 2055753002: VoERTP_RTCP: Remove GetREDStatus and SetREDStatus (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@remove-red
Patch Set: rebase Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/voice_engine/include/voe_rtp_rtcp.h ('k') | webrtc/voice_engine/voe_rtp_rtcp_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc
diff --git a/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc b/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc
index 674a05c4cbce6e270424229b4ad2daa1f3b4ecf1..9f82e87b6599a8115829d13833129a6cef7bc236 100644
--- a/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc
+++ b/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc
@@ -456,14 +456,9 @@ void RunTest(std::string out_path) {
if (option_selection < option_index) {
res = codec->GetCodec(option_selection, cinst);
VALIDATE;
- if (strcmp(cinst.plname, "red") == 0) {
- printf("Enabling RED\n");
- res = rtp_rtcp->SetREDStatus(chan, true, cinst.pltype);
- } else {
- SetStereoIfOpus(opus_stereo, &cinst);
- printf("Set primary codec\n");
- res = codec->SetSendCodec(chan, cinst);
- }
+ SetStereoIfOpus(opus_stereo, &cinst);
+ printf("Set primary codec\n");
+ res = codec->SetSendCodec(chan, cinst);
VALIDATE;
} else if (option_selection == option_index++) {
enable_cng = !enable_cng;
« no previous file with comments | « webrtc/voice_engine/include/voe_rtp_rtcp.h ('k') | webrtc/voice_engine/voe_rtp_rtcp_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698