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

Unified Diff: webrtc/voice_engine/test/auto_test/standard/codec_before_streaming_test.cc

Issue 2686043006: WebRtcVoiceMediaChannel::AddRecvStream: Don't call SetRecPayloadType (Closed)
Patch Set: rebase Created 3 years, 9 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/test/auto_test/fixtures/after_streaming_fixture.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/voice_engine/test/auto_test/standard/codec_before_streaming_test.cc
diff --git a/webrtc/voice_engine/test/auto_test/standard/codec_before_streaming_test.cc b/webrtc/voice_engine/test/auto_test/standard/codec_before_streaming_test.cc
index a733b12705c46af7a093a038db6786ae66f8ff7d..d9a5e2b794970ba019154e7f2fb3a57e63be3cf9 100644
--- a/webrtc/voice_engine/test/auto_test/standard/codec_before_streaming_test.cc
+++ b/webrtc/voice_engine/test/auto_test/standard/codec_before_streaming_test.cc
@@ -8,7 +8,9 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include "webrtc/voice_engine/channel_proxy.h"
#include "webrtc/voice_engine/test/auto_test/fixtures/after_initialization_fixture.h"
+#include "webrtc/voice_engine/voice_engine_impl.h"
class CodecBeforeStreamingTest : public AfterInitializationFixture {
protected:
@@ -19,6 +21,9 @@ class CodecBeforeStreamingTest : public AfterInitializationFixture {
codec_instance_.pacsize = 480;
channel_ = voe_base_->CreateChannel();
+ static_cast<webrtc::VoiceEngineImpl*>(voice_engine_)
+ ->GetChannelProxy(channel_)
+ ->RegisterLegacyCodecs();
}
void TearDown() {
« no previous file with comments | « webrtc/voice_engine/test/auto_test/fixtures/after_streaming_fixture.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698