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

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

Issue 2452163004: Stop using VoEVideoSync in Call/VideoReceiveStream. (Closed)
Patch Set: Get rid of unnecessary Clock* Created 3 years, 11 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
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
(...skipping 11 matching lines...) Expand all
22 #include <string> 22 #include <string>
23 #include <vector> 23 #include <vector>
24 24
25 namespace webrtc { 25 namespace webrtc {
26 26
27 class AudioSinkInterface; 27 class AudioSinkInterface;
28 class PacketRouter; 28 class PacketRouter;
29 class RtcEventLog; 29 class RtcEventLog;
30 class RtcpRttStats; 30 class RtcpRttStats;
31 class RtpPacketSender; 31 class RtpPacketSender;
32 class RtpReceiver;
33 class RtpRtcp;
32 class Transport; 34 class Transport;
33 class TransportFeedbackObserver; 35 class TransportFeedbackObserver;
34 36
35 namespace voe { 37 namespace voe {
36 38
37 class Channel; 39 class Channel;
38 40
39 // This class provides the "view" of a voe::Channel that we need to implement 41 // This class provides the "view" of a voe::Channel that we need to implement
40 // webrtc::AudioSendStream and webrtc::AudioReceiveStream. It serves two 42 // webrtc::AudioSendStream and webrtc::AudioReceiveStream. It serves two
41 // purposes: 43 // purposes:
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 virtual void DisableAudioNetworkAdaptor(); 92 virtual void DisableAudioNetworkAdaptor();
91 virtual void SetReceiverFrameLengthRange(int min_frame_length_ms, 93 virtual void SetReceiverFrameLengthRange(int min_frame_length_ms,
92 int max_frame_length_ms); 94 int max_frame_length_ms);
93 virtual AudioMixer::Source::AudioFrameInfo GetAudioFrameWithInfo( 95 virtual AudioMixer::Source::AudioFrameInfo GetAudioFrameWithInfo(
94 int sample_rate_hz, 96 int sample_rate_hz,
95 AudioFrame* audio_frame); 97 AudioFrame* audio_frame);
96 virtual int NeededFrequency() const; 98 virtual int NeededFrequency() const;
97 virtual void SetTransportOverhead(int transport_overhead_per_packet); 99 virtual void SetTransportOverhead(int transport_overhead_per_packet);
98 virtual void AssociateSendChannel(const ChannelProxy& send_channel_proxy); 100 virtual void AssociateSendChannel(const ChannelProxy& send_channel_proxy);
99 virtual void DisassociateSendChannel(); 101 virtual void DisassociateSendChannel();
102 virtual void GetRtpRtcp(RtpRtcp** rtp_rtcp,
103 RtpReceiver** rtp_receiver) const;
104 virtual void GetDelayEstimate(int* jitter_buffer_delay_ms,
105 int* playout_buffer_delay_ms) const;
106 virtual uint32_t GetPlayoutTimestamp() const;
107 virtual void SetMinimumPlayoutDelay(int delay_ms);
100 108
101 virtual void SetRtcpRttStats(RtcpRttStats* rtcp_rtt_stats); 109 virtual void SetRtcpRttStats(RtcpRttStats* rtcp_rtt_stats);
102 110
103 private: 111 private:
104 Channel* channel() const; 112 Channel* channel() const;
105 113
106 rtc::ThreadChecker thread_checker_; 114 rtc::ThreadChecker thread_checker_;
107 rtc::RaceChecker race_checker_; 115 rtc::RaceChecker race_checker_;
108 ChannelOwner channel_owner_; 116 ChannelOwner channel_owner_;
109 117
110 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); 118 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy);
111 }; 119 };
112 } // namespace voe 120 } // namespace voe
113 } // namespace webrtc 121 } // namespace webrtc
114 122
115 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ 123 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698