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

Side by Side Diff: media/cast/audio_receiver/audio_receiver.h

Issue 70713002: Cast: Restructure RTCP interface to better fit our usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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 | « no previous file | media/cast/audio_receiver/audio_receiver.cc » ('j') | media/cast/rtcp/rtcp.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_CAST_AUDIO_RECEIVER_AUDIO_RECEIVER_H_ 5 #ifndef MEDIA_CAST_AUDIO_RECEIVER_AUDIO_RECEIVER_H_
6 #define MEDIA_CAST_AUDIO_RECEIVER_AUDIO_RECEIVER_H_ 6 #define MEDIA_CAST_AUDIO_RECEIVER_AUDIO_RECEIVER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // Schedule timing for the next cast message. 90 // Schedule timing for the next cast message.
91 void ScheduleNextCastMessage(); 91 void ScheduleNextCastMessage();
92 92
93 // Actually send the next cast message. 93 // Actually send the next cast message.
94 void SendNextCastMessage(); 94 void SendNextCastMessage();
95 95
96 scoped_refptr<CastEnvironment> cast_environment_; 96 scoped_refptr<CastEnvironment> cast_environment_;
97 base::WeakPtrFactory<AudioReceiver> weak_factory_; 97 base::WeakPtrFactory<AudioReceiver> weak_factory_;
98 98
99 const AudioCodec codec_; 99 const AudioCodec codec_;
100 const uint32 incoming_ssrc_;
101 const int frequency_; 100 const int frequency_;
102 base::TimeDelta target_delay_delta_; 101 base::TimeDelta target_delay_delta_;
103 scoped_ptr<Framer> audio_buffer_; 102 scoped_ptr<Framer> audio_buffer_;
104 scoped_refptr<AudioDecoder> audio_decoder_; 103 scoped_refptr<AudioDecoder> audio_decoder_;
105 scoped_ptr<LocalRtpAudioData> incoming_payload_callback_; 104 scoped_ptr<LocalRtpAudioData> incoming_payload_callback_;
106 scoped_ptr<LocalRtpAudioFeedback> incoming_payload_feedback_; 105 scoped_ptr<LocalRtpAudioFeedback> incoming_payload_feedback_;
107 scoped_ptr<RtpReceiver> rtp_receiver_; 106 scoped_ptr<RtpReceiver> rtp_receiver_;
108 scoped_ptr<Rtcp> rtcp_; 107 scoped_ptr<Rtcp> rtcp_;
109 scoped_ptr<RtpReceiverStatistics> rtp_audio_receiver_statistics_; 108 scoped_ptr<RtpReceiverStatistics> rtp_audio_receiver_statistics_;
110 base::TimeDelta time_offset_; 109 base::TimeDelta time_offset_;
111 base::TimeTicks time_first_incoming_packet_; 110 base::TimeTicks time_first_incoming_packet_;
112 uint32 first_incoming_rtp_timestamp_; 111 uint32 first_incoming_rtp_timestamp_;
113 112
114 std::list<AudioFrameEncodedCallback> queued_encoded_callbacks_; 113 std::list<AudioFrameEncodedCallback> queued_encoded_callbacks_;
115 }; 114 };
116 115
117 } // namespace cast 116 } // namespace cast
118 } // namespace media 117 } // namespace media
119 118
120 #endif // MEDIA_CAST_AUDIO_RECEIVER_AUDIO_RECEIVER_H_ 119 #endif // MEDIA_CAST_AUDIO_RECEIVER_AUDIO_RECEIVER_H_
OLDNEW
« no previous file with comments | « no previous file | media/cast/audio_receiver/audio_receiver.cc » ('j') | media/cast/rtcp/rtcp.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698