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

Side by Side Diff: media/cast/net/rtp/framer.h

Issue 1520613004: cast: Split Rtcp into two for sender and receiver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@timestamp
Patch Set: Add missing rtcp_session.h and a few comments Created 5 years 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 // 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_NET_RTP_FRAMER_H_ 5 #ifndef MEDIA_CAST_NET_RTP_FRAMER_H_
6 #define MEDIA_CAST_NET_RTP_FRAMER_H_ 6 #define MEDIA_CAST_NET_RTP_FRAMER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/linked_ptr.h" 11 #include "base/memory/linked_ptr.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/time/tick_clock.h" 13 #include "base/time/tick_clock.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "media/cast/net/rtcp/rtcp.h"
16 #include "media/cast/net/rtp/cast_message_builder.h" 15 #include "media/cast/net/rtp/cast_message_builder.h"
17 #include "media/cast/net/rtp/frame_buffer.h" 16 #include "media/cast/net/rtp/frame_buffer.h"
18 #include "media/cast/net/rtp/rtp_defines.h" 17 #include "media/cast/net/rtp/rtp_defines.h"
19 18
20 namespace media { 19 namespace media {
21 namespace cast { 20 namespace cast {
22 21
23 typedef std::map<uint32, linked_ptr<FrameBuffer> > FrameList; 22 typedef std::map<uint32, linked_ptr<FrameBuffer> > FrameList;
24 23
25 class Framer { 24 class Framer {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 uint32 last_released_frame_; 86 uint32 last_released_frame_;
88 uint32 newest_frame_id_; 87 uint32 newest_frame_id_;
89 88
90 DISALLOW_COPY_AND_ASSIGN(Framer); 89 DISALLOW_COPY_AND_ASSIGN(Framer);
91 }; 90 };
92 91
93 } // namespace cast 92 } // namespace cast
94 } // namespace media 93 } // namespace media
95 94
96 #endif // MEDIA_CAST_NET_RTP_FRAMER_H_ 95 #endif // MEDIA_CAST_NET_RTP_FRAMER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698