Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(743)

Side by Side Diff: webrtc/audio_send_stream.h

Issue 1493933003: Add comments about the Audio parts of the public Call API being WIP. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: add link to voe refactoring bug Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/audio_receive_stream.h ('k') | webrtc/audio_state.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_AUDIO_SEND_STREAM_H_ 11 #ifndef WEBRTC_AUDIO_SEND_STREAM_H_
12 #define WEBRTC_AUDIO_SEND_STREAM_H_ 12 #define WEBRTC_AUDIO_SEND_STREAM_H_
13 13
14 #include <string> 14 #include <string>
15 #include <vector> 15 #include <vector>
16 16
17 #include "webrtc/base/scoped_ptr.h" 17 #include "webrtc/base/scoped_ptr.h"
18 #include "webrtc/config.h" 18 #include "webrtc/config.h"
19 #include "webrtc/modules/audio_coding/codecs/audio_encoder.h" 19 #include "webrtc/modules/audio_coding/codecs/audio_encoder.h"
20 #include "webrtc/stream.h" 20 #include "webrtc/stream.h"
21 #include "webrtc/transport.h" 21 #include "webrtc/transport.h"
22 #include "webrtc/typedefs.h" 22 #include "webrtc/typedefs.h"
23 23
24 namespace webrtc { 24 namespace webrtc {
25 25
26 // WORK IN PROGRESS
27 // This class is under development and is not yet intended for for use outside
28 // of WebRtc/Libjingle. Please use the VoiceEngine API instead.
29 // See: https://bugs.chromium.org/p/webrtc/issues/detail?id=4690
30
26 class AudioSendStream : public SendStream { 31 class AudioSendStream : public SendStream {
27 public: 32 public:
28 struct Stats { 33 struct Stats {
29 // TODO(solenberg): Harmonize naming and defaults with receive stream stats. 34 // TODO(solenberg): Harmonize naming and defaults with receive stream stats.
30 uint32_t local_ssrc = 0; 35 uint32_t local_ssrc = 0;
31 int64_t bytes_sent = 0; 36 int64_t bytes_sent = 0;
32 int32_t packets_sent = 0; 37 int32_t packets_sent = 0;
33 int32_t packets_lost = -1; 38 int32_t packets_lost = -1;
34 float fraction_lost = -1.0f; 39 float fraction_lost = -1.0f;
35 std::string codec_name; 40 std::string codec_name;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // rtc::scoped_ptr<AudioEncoder> encoder; 87 // rtc::scoped_ptr<AudioEncoder> encoder;
83 int cng_payload_type = -1; // pt, or -1 to disable Comfort Noise Generator. 88 int cng_payload_type = -1; // pt, or -1 to disable Comfort Noise Generator.
84 int red_payload_type = -1; // pt, or -1 to disable REDundant coding. 89 int red_payload_type = -1; // pt, or -1 to disable REDundant coding.
85 }; 90 };
86 91
87 virtual Stats GetStats() const = 0; 92 virtual Stats GetStats() const = 0;
88 }; 93 };
89 } // namespace webrtc 94 } // namespace webrtc
90 95
91 #endif // WEBRTC_AUDIO_SEND_STREAM_H_ 96 #endif // WEBRTC_AUDIO_SEND_STREAM_H_
OLDNEW
« no previous file with comments | « webrtc/audio_receive_stream.h ('k') | webrtc/audio_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698