OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "remoting/host/client_session.h" | 5 #include "remoting/host/client_session.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/message_loop_proxy.h" | 9 #include "base/message_loop/message_loop_proxy.h" |
10 #include "remoting/base/capabilities.h" | 10 #include "remoting/base/capabilities.h" |
11 #include "remoting/codec/audio_encoder.h" | 11 #include "remoting/codec/audio_encoder.h" |
12 #include "remoting/codec/audio_encoder_opus.h" | 12 #include "remoting/codec/audio_encoder_opus.h" |
13 #include "remoting/codec/audio_encoder_speex.h" | 13 #include "remoting/codec/audio_encoder_speex.h" |
14 #include "remoting/codec/audio_encoder_verbatim.h" | 14 #include "remoting/codec/audio_encoder_verbatim.h" |
15 #include "remoting/codec/video_encoder.h" | 15 #include "remoting/codec/video_encoder.h" |
16 #include "remoting/codec/video_encoder_verbatim.h" | 16 #include "remoting/codec/video_encoder_verbatim.h" |
17 #include "remoting/codec/video_encoder_vp8.h" | 17 #include "remoting/codec/video_encoder_vp8.h" |
18 #include "remoting/host/audio_capturer.h" | 18 #include "remoting/host/audio_capturer.h" |
19 #include "remoting/host/audio_scheduler.h" | 19 #include "remoting/host/audio_scheduler.h" |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 return scoped_ptr<AudioEncoder>(new AudioEncoderSpeex()); | 431 return scoped_ptr<AudioEncoder>(new AudioEncoderSpeex()); |
432 } else if (audio_config.codec == protocol::ChannelConfig::CODEC_OPUS) { | 432 } else if (audio_config.codec == protocol::ChannelConfig::CODEC_OPUS) { |
433 return scoped_ptr<AudioEncoder>(new AudioEncoderOpus()); | 433 return scoped_ptr<AudioEncoder>(new AudioEncoderOpus()); |
434 } | 434 } |
435 | 435 |
436 NOTIMPLEMENTED(); | 436 NOTIMPLEMENTED(); |
437 return scoped_ptr<AudioEncoder>(NULL); | 437 return scoped_ptr<AudioEncoder>(NULL); |
438 } | 438 } |
439 | 439 |
440 } // namespace remoting | 440 } // namespace remoting |
OLD | NEW |