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

Side by Side Diff: webrtc/voice_engine/channel_proxy.h

Issue 2378143004: Made AudioReceiveStream a mixer participant. (Closed)
Patch Set: Changed 'ssrc' into 'Ssrc' because of change upstream. Created 4 years, 2 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/voice_engine/channel.cc ('k') | webrtc/voice_engine/channel_proxy.cc » ('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_VOICE_ENGINE_CHANNEL_PROXY_H_ 11 #ifndef WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_
12 #define WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ 12 #define WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_
13 13
14 #include "webrtc/api/audio/audio_mixer.h"
14 #include "webrtc/base/constructormagic.h" 15 #include "webrtc/base/constructormagic.h"
16 #include "webrtc/base/race_checker.h"
15 #include "webrtc/base/thread_checker.h" 17 #include "webrtc/base/thread_checker.h"
16 #include "webrtc/voice_engine/channel_manager.h" 18 #include "webrtc/voice_engine/channel_manager.h"
17 #include "webrtc/voice_engine/include/voe_rtp_rtcp.h" 19 #include "webrtc/voice_engine/include/voe_rtp_rtcp.h"
18 20
19 #include <memory> 21 #include <memory>
20 #include <string> 22 #include <string>
21 #include <vector> 23 #include <vector>
22 24
23 namespace webrtc { 25 namespace webrtc {
24 26
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 const PacketTime& packet_time); 86 const PacketTime& packet_time);
85 virtual bool ReceivedRTCPPacket(const uint8_t* packet, size_t length); 87 virtual bool ReceivedRTCPPacket(const uint8_t* packet, size_t length);
86 88
87 virtual const rtc::scoped_refptr<AudioDecoderFactory>& 89 virtual const rtc::scoped_refptr<AudioDecoderFactory>&
88 GetAudioDecoderFactory() const; 90 GetAudioDecoderFactory() const;
89 91
90 virtual void SetChannelOutputVolumeScaling(float scaling); 92 virtual void SetChannelOutputVolumeScaling(float scaling);
91 93
92 virtual void SetRtcEventLog(RtcEventLog* event_log); 94 virtual void SetRtcEventLog(RtcEventLog* event_log);
93 95
96 virtual AudioMixer::Source::AudioFrameWithInfo GetAudioFrameWithInfo(
97 int sample_rate_hz);
98
94 private: 99 private:
95 Channel* channel() const; 100 Channel* channel() const;
96 101
97 rtc::ThreadChecker thread_checker_; 102 rtc::ThreadChecker thread_checker_;
103 rtc::RaceChecker race_checker_;
98 ChannelOwner channel_owner_; 104 ChannelOwner channel_owner_;
99 105
100 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); 106 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy);
101 }; 107 };
102 } // namespace voe 108 } // namespace voe
103 } // namespace webrtc 109 } // namespace webrtc
104 110
105 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ 111 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_
OLDNEW
« no previous file with comments | « webrtc/voice_engine/channel.cc ('k') | webrtc/voice_engine/channel_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698