OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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_CALL_AUDIO_SEND_STREAM_H_ | 11 #ifndef WEBRTC_CALL_AUDIO_SEND_STREAM_H_ |
12 #define WEBRTC_CALL_AUDIO_SEND_STREAM_H_ | 12 #define WEBRTC_CALL_AUDIO_SEND_STREAM_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 #include <string> | 15 #include <string> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "webrtc/api/audio_codecs/audio_encoder_factory.h" | 18 #include "webrtc/api/audio_codecs/audio_encoder_factory.h" |
19 #include "webrtc/api/audio_codecs/audio_format.h" | 19 #include "webrtc/api/audio_codecs/audio_format.h" |
20 #include "webrtc/api/call/transport.h" | 20 #include "webrtc/api/call/transport.h" |
| 21 #include "webrtc/base/optional.h" |
21 #include "webrtc/config.h" | 22 #include "webrtc/config.h" |
22 #include "webrtc/rtc_base/optional.h" | |
23 #include "webrtc/typedefs.h" | 23 #include "webrtc/typedefs.h" |
24 | 24 |
25 namespace webrtc { | 25 namespace webrtc { |
26 | 26 |
27 // WORK IN PROGRESS | 27 // WORK IN PROGRESS |
28 // This class is under development and is not yet intended for for use outside | 28 // This class is under development and is not yet intended for for use outside |
29 // of WebRtc/Libjingle. Please use the VoiceEngine API instead. | 29 // of WebRtc/Libjingle. Please use the VoiceEngine API instead. |
30 // See: https://bugs.chromium.org/p/webrtc/issues/detail?id=4690 | 30 // See: https://bugs.chromium.org/p/webrtc/issues/detail?id=4690 |
31 | 31 |
32 class AudioSendStream { | 32 class AudioSendStream { |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 virtual void SetMuted(bool muted) = 0; | 142 virtual void SetMuted(bool muted) = 0; |
143 | 143 |
144 virtual Stats GetStats() const = 0; | 144 virtual Stats GetStats() const = 0; |
145 | 145 |
146 protected: | 146 protected: |
147 virtual ~AudioSendStream() {} | 147 virtual ~AudioSendStream() {} |
148 }; | 148 }; |
149 } // namespace webrtc | 149 } // namespace webrtc |
150 | 150 |
151 #endif // WEBRTC_CALL_AUDIO_SEND_STREAM_H_ | 151 #endif // WEBRTC_CALL_AUDIO_SEND_STREAM_H_ |
OLD | NEW |