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 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
104 virtual void Stop() = 0; | 104 virtual void Stop() = 0; |
105 | 105 |
106 // TODO(solenberg): Make payload_type a config property instead. | 106 // TODO(solenberg): Make payload_type a config property instead. |
107 virtual bool SendTelephoneEvent(int payload_type, int event, | 107 virtual bool SendTelephoneEvent(int payload_type, int event, |
108 int duration_ms) = 0; | 108 int duration_ms) = 0; |
109 | 109 |
110 virtual void SetMuted(bool muted) = 0; | 110 virtual void SetMuted(bool muted) = 0; |
111 | 111 |
112 virtual Stats GetStats() const = 0; | 112 virtual Stats GetStats() const = 0; |
113 | 113 |
114 virtual bool EnableAudioNetworkAdaptor(const std::string& config_string) = 0; | |
the sun
2016/10/06 08:03:46
One of the major ideas with the new API is to have
minyue-webrtc
2016/10/06 08:16:53
Actually, this is audio network adaptor is a codec
| |
115 | |
116 virtual void DisableAudioNetworkAdaptor() = 0; | |
117 | |
118 virtual void SetReceiverFrameLengthRange(int min_frame_length_ms, | |
119 int max_frame_length_ms) = 0; | |
120 | |
114 protected: | 121 protected: |
115 virtual ~AudioSendStream() {} | 122 virtual ~AudioSendStream() {} |
116 }; | 123 }; |
117 } // namespace webrtc | 124 } // namespace webrtc |
118 | 125 |
119 #endif // WEBRTC_API_CALL_AUDIO_SEND_STREAM_H_ | 126 #endif // WEBRTC_API_CALL_AUDIO_SEND_STREAM_H_ |
OLD | NEW |