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

Side by Side Diff: webrtc/api/remoteaudiosource.h

Issue 1741933002: Prevent a voice channel from sending data before a renderer is set. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Modifying copyright header to satisfy presubmit bot. Created 4 years, 9 months 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/api/mediastreamprovider.h ('k') | webrtc/api/rtpsender.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 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2014 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_API_REMOTEAUDIOSOURCE_H_ 11 #ifndef WEBRTC_API_REMOTEAUDIOSOURCE_H_
12 #define WEBRTC_API_REMOTEAUDIOSOURCE_H_ 12 #define WEBRTC_API_REMOTEAUDIOSOURCE_H_
13 13
14 #include <list> 14 #include <list>
15 #include <string> 15 #include <string>
16 16
17 #include "webrtc/api/mediastreaminterface.h" 17 #include "webrtc/api/mediastreaminterface.h"
18 #include "webrtc/api/notifier.h" 18 #include "webrtc/api/notifier.h"
19 #include "webrtc/audio_sink.h" 19 #include "webrtc/audio_sink.h"
20 #include "webrtc/base/criticalsection.h" 20 #include "webrtc/base/criticalsection.h"
21 #include "webrtc/media/base/audiorenderer.h"
22 21
23 namespace rtc { 22 namespace rtc {
24 struct Message; 23 struct Message;
25 class Thread; 24 class Thread;
26 } // namespace rtc 25 } // namespace rtc
27 26
28 namespace webrtc { 27 namespace webrtc {
29 28
30 class AudioProviderInterface; 29 class AudioProviderInterface;
31 30
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 AudioObserverList audio_observers_; 69 AudioObserverList audio_observers_;
71 rtc::CriticalSection sink_lock_; 70 rtc::CriticalSection sink_lock_;
72 std::list<AudioTrackSinkInterface*> sinks_; 71 std::list<AudioTrackSinkInterface*> sinks_;
73 rtc::Thread* const main_thread_; 72 rtc::Thread* const main_thread_;
74 SourceState state_; 73 SourceState state_;
75 }; 74 };
76 75
77 } // namespace webrtc 76 } // namespace webrtc
78 77
79 #endif // WEBRTC_API_REMOTEAUDIOSOURCE_H_ 78 #endif // WEBRTC_API_REMOTEAUDIOSOURCE_H_
OLDNEW
« no previous file with comments | « webrtc/api/mediastreamprovider.h ('k') | webrtc/api/rtpsender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698