Index: remoting/host/client_session.cc |
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc |
index 8a9b84295a254909421011425b08d6bddefc407f..67e28ecd72f2bb16f73112d97182b547fe7d59fe 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" |
@@ -293,6 +294,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(); |