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

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

Issue 1377273003: cast: cleanup rtp header and parsing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 5 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 | « media/cast/net/rtp/rtp_receiver_defines.cc ('k') | no next file » | 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 <list>
9
8 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
11 #include "base/time/time.h" 13 #include "base/time/time.h"
12 #include "media/cast/cast_config.h" 14 #include "media/cast/cast_config.h"
13 #include "media/cast/cast_receiver.h" 15 #include "media/cast/cast_receiver.h"
14 #include "media/cast/common/clock_drift_smoother.h" 16 #include "media/cast/common/clock_drift_smoother.h"
15 #include "media/cast/common/transport_encryption_handler.h" 17 #include "media/cast/common/transport_encryption_handler.h"
16 #include "media/cast/logging/logging_defines.h" 18 #include "media/cast/logging/logging_defines.h"
17 #include "media/cast/net/rtcp/receiver_rtcp_event_subscriber.h" 19 #include "media/cast/net/rtcp/receiver_rtcp_event_subscriber.h"
18 #include "media/cast/net/rtcp/rtcp.h" 20 #include "media/cast/net/rtcp/rtcp.h"
19 #include "media/cast/net/rtp/framer.h" 21 #include "media/cast/net/rtp/framer.h"
20 #include "media/cast/net/rtp/receiver_stats.h" 22 #include "media/cast/net/rtp/receiver_stats.h"
23 #include "media/cast/net/rtp/rtp_defines.h"
21 #include "media/cast/net/rtp/rtp_parser.h" 24 #include "media/cast/net/rtp/rtp_parser.h"
22 #include "media/cast/net/rtp/rtp_receiver_defines.h"
23 25
24 namespace media { 26 namespace media {
25 namespace cast { 27 namespace cast {
26 28
27 class CastEnvironment; 29 class CastEnvironment;
28 30
29 // FrameReceiver receives packets out-of-order while clients make requests for 31 // FrameReceiver receives packets out-of-order while clients make requests for
30 // complete frames in-order. (A frame consists of one or more packets.) 32 // complete frames in-order. (A frame consists of one or more packets.)
31 // 33 //
32 // FrameReceiver also includes logic for computing the playout time for each 34 // FrameReceiver also includes logic for computing the playout time for each
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 // NOTE: Weak pointers must be invalidated before all other member variables. 183 // NOTE: Weak pointers must be invalidated before all other member variables.
182 base::WeakPtrFactory<FrameReceiver> weak_factory_; 184 base::WeakPtrFactory<FrameReceiver> weak_factory_;
183 185
184 DISALLOW_COPY_AND_ASSIGN(FrameReceiver); 186 DISALLOW_COPY_AND_ASSIGN(FrameReceiver);
185 }; 187 };
186 188
187 } // namespace cast 189 } // namespace cast
188 } // namespace media 190 } // namespace media
189 191
190 #endif // MEDIA_CAST_RECEIVER_FRAME_RECEIVER_H_ 192 #endif // MEDIA_CAST_RECEIVER_FRAME_RECEIVER_H_
OLDNEW
« no previous file with comments | « media/cast/net/rtp/rtp_receiver_defines.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698