| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #ifndef WEBRTC_MEDIA_BASE_FAKEMEDIAENGINE_H_ | 11 #ifndef WEBRTC_MEDIA_BASE_FAKEMEDIAENGINE_H_ |
| 12 #define WEBRTC_MEDIA_BASE_FAKEMEDIAENGINE_H_ | 12 #define WEBRTC_MEDIA_BASE_FAKEMEDIAENGINE_H_ |
| 13 | 13 |
| 14 #include <list> | 14 #include <list> |
| 15 #include <map> | 15 #include <map> |
| 16 #include <memory> | 16 #include <memory> |
| 17 #include <set> | 17 #include <set> |
| 18 #include <string> | 18 #include <string> |
| 19 #include <vector> | 19 #include <vector> |
| 20 | 20 |
| 21 #include "webrtc/api/call/audio_sink.h" | 21 #include "webrtc/api/call/audio_sink.h" |
| 22 #include "webrtc/base/checks.h" | |
| 23 #include "webrtc/base/copyonwritebuffer.h" | |
| 24 #include "webrtc/base/networkroute.h" | |
| 25 #include "webrtc/base/stringutils.h" | |
| 26 #include "webrtc/media/base/audiosource.h" | 22 #include "webrtc/media/base/audiosource.h" |
| 27 #include "webrtc/media/base/mediaengine.h" | 23 #include "webrtc/media/base/mediaengine.h" |
| 28 #include "webrtc/media/base/rtputils.h" | 24 #include "webrtc/media/base/rtputils.h" |
| 29 #include "webrtc/media/base/streamparams.h" | 25 #include "webrtc/media/base/streamparams.h" |
| 30 #include "webrtc/modules/audio_processing/include/audio_processing.h" | 26 #include "webrtc/modules/audio_processing/include/audio_processing.h" |
| 31 #include "webrtc/p2p/base/sessiondescription.h" | 27 #include "webrtc/p2p/base/sessiondescription.h" |
| 28 #include "webrtc/rtc_base/checks.h" |
| 29 #include "webrtc/rtc_base/copyonwritebuffer.h" |
| 30 #include "webrtc/rtc_base/networkroute.h" |
| 31 #include "webrtc/rtc_base/stringutils.h" |
| 32 | 32 |
| 33 using webrtc::RtpExtension; | 33 using webrtc::RtpExtension; |
| 34 | 34 |
| 35 namespace cricket { | 35 namespace cricket { |
| 36 | 36 |
| 37 class FakeMediaEngine; | 37 class FakeMediaEngine; |
| 38 class FakeVideoEngine; | 38 class FakeVideoEngine; |
| 39 class FakeVoiceEngine; | 39 class FakeVoiceEngine; |
| 40 | 40 |
| 41 // A common helper class that handles sending and receiving RTP/RTCP packets. | 41 // A common helper class that handles sending and receiving RTP/RTCP packets. |
| (...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 974 virtual const std::vector<DataCodec>& data_codecs() { return data_codecs_; } | 974 virtual const std::vector<DataCodec>& data_codecs() { return data_codecs_; } |
| 975 | 975 |
| 976 private: | 976 private: |
| 977 std::vector<FakeDataMediaChannel*> channels_; | 977 std::vector<FakeDataMediaChannel*> channels_; |
| 978 std::vector<DataCodec> data_codecs_; | 978 std::vector<DataCodec> data_codecs_; |
| 979 }; | 979 }; |
| 980 | 980 |
| 981 } // namespace cricket | 981 } // namespace cricket |
| 982 | 982 |
| 983 #endif // WEBRTC_MEDIA_BASE_FAKEMEDIAENGINE_H_ | 983 #endif // WEBRTC_MEDIA_BASE_FAKEMEDIAENGINE_H_ |
| OLD | NEW |