| 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_RTP_PACKETIZER_H_ | 5 #ifndef MEDIA_CAST_NET_RTP_RTP_PACKETIZER_H_ |
| 6 #define MEDIA_CAST_NET_RTP_RTP_PACKETIZER_H_ | 6 #define MEDIA_CAST_NET_RTP_RTP_PACKETIZER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <cmath> | 11 #include <cmath> |
| 12 #include <list> | 12 #include <list> |
| 13 #include <map> | 13 #include <map> |
| 14 | 14 |
| 15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 16 #include "media/cast/common/rtp_time.h" | 16 #include "media/cast/common/rtp_time.h" |
| 17 #include "media/cast/net/rtp/packet_storage.h" | 17 #include "media/cast/net/rtp/packet_storage.h" |
| 18 | 18 |
| 19 namespace base { | |
| 20 class TickClock; | |
| 21 } | |
| 22 | |
| 23 namespace media { | 19 namespace media { |
| 24 namespace cast { | 20 namespace cast { |
| 25 | 21 |
| 26 class PacedSender; | 22 class PacedSender; |
| 27 | 23 |
| 28 struct RtpPacketizerConfig { | 24 struct RtpPacketizerConfig { |
| 29 RtpPacketizerConfig(); | 25 RtpPacketizerConfig(); |
| 30 ~RtpPacketizerConfig(); | 26 ~RtpPacketizerConfig(); |
| 31 | 27 |
| 32 // General. | 28 // General. |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 uint16_t sequence_number_; | 65 uint16_t sequence_number_; |
| 70 | 66 |
| 71 size_t send_packet_count_; | 67 size_t send_packet_count_; |
| 72 size_t send_octet_count_; | 68 size_t send_octet_count_; |
| 73 }; | 69 }; |
| 74 | 70 |
| 75 } // namespace cast | 71 } // namespace cast |
| 76 } // namespace media | 72 } // namespace media |
| 77 | 73 |
| 78 #endif // MEDIA_CAST_NET_RTP_RTP_PACKETIZER_H_ | 74 #endif // MEDIA_CAST_NET_RTP_RTP_PACKETIZER_H_ |
| OLD | NEW |