| OLD | NEW |
| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <map> | 11 #include <map> |
| 12 | 12 |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/linked_ptr.h" | 14 #include "base/memory/linked_ptr.h" |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/time/tick_clock.h" | 16 #include "base/time/tick_clock.h" |
| 17 #include "base/time/time.h" | 17 #include "base/time/time.h" |
| 18 #include "media/cast/net/rtcp/rtcp.h" | |
| 19 #include "media/cast/net/rtp/cast_message_builder.h" | 18 #include "media/cast/net/rtp/cast_message_builder.h" |
| 20 #include "media/cast/net/rtp/frame_buffer.h" | 19 #include "media/cast/net/rtp/frame_buffer.h" |
| 21 #include "media/cast/net/rtp/rtp_defines.h" | 20 #include "media/cast/net/rtp/rtp_defines.h" |
| 22 | 21 |
| 23 namespace media { | 22 namespace media { |
| 24 namespace cast { | 23 namespace cast { |
| 25 | 24 |
| 26 typedef std::map<uint32_t, linked_ptr<FrameBuffer>> FrameList; | 25 typedef std::map<uint32_t, linked_ptr<FrameBuffer>> FrameList; |
| 27 | 26 |
| 28 class Framer { | 27 class Framer { |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 uint32_t last_released_frame_; | 89 uint32_t last_released_frame_; |
| 91 uint32_t newest_frame_id_; | 90 uint32_t newest_frame_id_; |
| 92 | 91 |
| 93 DISALLOW_COPY_AND_ASSIGN(Framer); | 92 DISALLOW_COPY_AND_ASSIGN(Framer); |
| 94 }; | 93 }; |
| 95 | 94 |
| 96 } // namespace cast | 95 } // namespace cast |
| 97 } // namespace media | 96 } // namespace media |
| 98 | 97 |
| 99 #endif // MEDIA_CAST_NET_RTP_FRAMER_H_ | 98 #endif // MEDIA_CAST_NET_RTP_FRAMER_H_ |
| OLD | NEW |