Index: remoting/host/client_session.cc |
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc |
index 74002877a3ff830b6c286ea4d079ec4aee9c0783..7c7e0ebc62034bafc6b7099ebedced125ab9d47e 100644 |
--- a/remoting/host/client_session.cc |
+++ b/remoting/host/client_session.cc |
@@ -8,6 +8,7 @@ |
#include "base/message_loop_proxy.h" |
#include "remoting/codec/audio_encoder.h" |
+#include "remoting/codec/audio_encoder_opus.h" |
#include "remoting/codec/audio_encoder_speex.h" |
#include "remoting/codec/audio_encoder_verbatim.h" |
#include "remoting/codec/video_encoder.h" |
@@ -303,6 +304,8 @@ scoped_ptr<AudioEncoder> ClientSession::CreateAudioEncoder( |
return scoped_ptr<AudioEncoder>(new AudioEncoderVerbatim()); |
} else if (audio_config.codec == protocol::ChannelConfig::CODEC_SPEEX) { |
return scoped_ptr<AudioEncoder>(new AudioEncoderSpeex()); |
+ } else if (audio_config.codec == protocol::ChannelConfig::CODEC_OPUS) { |
+ return scoped_ptr<AudioEncoder>(new AudioEncoderOpus()); |
} |
NOTIMPLEMENTED(); |