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

Side by Side Diff: media/cast/receiver/frame_receiver.h

Issue 1012573002: Remove rtcp_interval from cast_config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « media/cast/cast_config.cc ('k') | media/cast/receiver/frame_receiver.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_RECEIVER_FRAME_RECEIVER_H_ 5 #ifndef MEDIA_CAST_RECEIVER_FRAME_RECEIVER_H_
6 #define MEDIA_CAST_RECEIVER_FRAME_RECEIVER_H_ 6 #define MEDIA_CAST_RECEIVER_FRAME_RECEIVER_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 // it allows the event to be transmitted via RTCP. 171 // it allows the event to be transmitted via RTCP.
172 RtpTimestamp frame_id_to_rtp_timestamp_[256]; 172 RtpTimestamp frame_id_to_rtp_timestamp_[256];
173 173
174 // Lip-sync values used to compute the playout time of each frame from its RTP 174 // Lip-sync values used to compute the playout time of each frame from its RTP
175 // timestamp. These are updated each time the first packet of a frame is 175 // timestamp. These are updated each time the first packet of a frame is
176 // received. 176 // received.
177 RtpTimestamp lip_sync_rtp_timestamp_; 177 RtpTimestamp lip_sync_rtp_timestamp_;
178 base::TimeTicks lip_sync_reference_time_; 178 base::TimeTicks lip_sync_reference_time_;
179 ClockDriftSmoother lip_sync_drift_; 179 ClockDriftSmoother lip_sync_drift_;
180 180
181 // Time interval for sending a RTCP report.
182 const base::TimeDelta rtcp_interval_;
183
184 // NOTE: Weak pointers must be invalidated before all other member variables. 181 // NOTE: Weak pointers must be invalidated before all other member variables.
185 base::WeakPtrFactory<FrameReceiver> weak_factory_; 182 base::WeakPtrFactory<FrameReceiver> weak_factory_;
186 183
187 DISALLOW_COPY_AND_ASSIGN(FrameReceiver); 184 DISALLOW_COPY_AND_ASSIGN(FrameReceiver);
188 }; 185 };
189 186
190 } // namespace cast 187 } // namespace cast
191 } // namespace media 188 } // namespace media
192 189
193 #endif // MEDIA_CAST_RECEIVER_FRAME_RECEIVER_H_ 190 #endif // MEDIA_CAST_RECEIVER_FRAME_RECEIVER_H_
OLDNEW
« no previous file with comments | « media/cast/cast_config.cc ('k') | media/cast/receiver/frame_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698