| 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_FRAME_BUFFER_H_ | 5 #ifndef MEDIA_CAST_NET_RTP_FRAME_BUFFER_H_ |
| 6 #define MEDIA_CAST_NET_RTP_FRAME_BUFFER_H_ | 6 #define MEDIA_CAST_NET_RTP_FRAME_BUFFER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/macros.h" |
| 11 #include "media/cast/net/cast_transport_config.h" | 12 #include "media/cast/net/cast_transport_config.h" |
| 12 #include "media/cast/net/rtp/rtp_defines.h" | 13 #include "media/cast/net/rtp/rtp_defines.h" |
| 13 | 14 |
| 14 namespace media { | 15 namespace media { |
| 15 namespace cast { | 16 namespace cast { |
| 16 | 17 |
| 17 typedef std::map<uint16_t, std::vector<uint8_t>> PacketMap; | 18 typedef std::map<uint16_t, std::vector<uint8_t>> PacketMap; |
| 18 | 19 |
| 19 class FrameBuffer { | 20 class FrameBuffer { |
| 20 public: | 21 public: |
| (...skipping 30 matching lines...) Expand all Loading... |
| 51 uint32_t rtp_timestamp_; | 52 uint32_t rtp_timestamp_; |
| 52 PacketMap packets_; | 53 PacketMap packets_; |
| 53 | 54 |
| 54 DISALLOW_COPY_AND_ASSIGN(FrameBuffer); | 55 DISALLOW_COPY_AND_ASSIGN(FrameBuffer); |
| 55 }; | 56 }; |
| 56 | 57 |
| 57 } // namespace cast | 58 } // namespace cast |
| 58 } // namespace media | 59 } // namespace media |
| 59 | 60 |
| 60 #endif // MEDIA_CAST_NET_RTP_FRAME_BUFFER_H_ | 61 #endif // MEDIA_CAST_NET_RTP_FRAME_BUFFER_H_ |
| OLD | NEW |