OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_TRANSPORT_RTP_SENDER_RTP_PACKETIZER_RTP_PACKETIZER_H_ | 5 #ifndef MEDIA_CAST_NET_RTP_RTP_PACKETIZER_H_ |
6 #define MEDIA_CAST_TRANSPORT_RTP_SENDER_RTP_PACKETIZER_RTP_PACKETIZER_H_ | 6 #define MEDIA_CAST_NET_RTP_RTP_PACKETIZER_H_ |
7 | 7 |
8 #include <cmath> | 8 #include <cmath> |
9 #include <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
11 | 11 |
12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
13 #include "media/cast/transport/rtp_sender/packet_storage/packet_storage.h" | 13 #include "media/cast/net/rtp/packet_storage.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class TickClock; | 16 class TickClock; |
17 } | 17 } |
18 | 18 |
19 namespace media { | 19 namespace media { |
20 namespace cast { | 20 namespace cast { |
21 | 21 |
22 namespace transport { | |
23 | |
24 class PacedSender; | 22 class PacedSender; |
25 | 23 |
26 struct RtpPacketizerConfig { | 24 struct RtpPacketizerConfig { |
27 RtpPacketizerConfig(); | 25 RtpPacketizerConfig(); |
28 ~RtpPacketizerConfig(); | 26 ~RtpPacketizerConfig(); |
29 | 27 |
30 // General. | 28 // General. |
31 int payload_type; | 29 int payload_type; |
32 uint16 max_payload_length; | 30 uint16 max_payload_length; |
33 uint16 sequence_number; | 31 uint16 sequence_number; |
(...skipping 29 matching lines...) Expand all Loading... |
63 PacketStorage* packet_storage_; | 61 PacketStorage* packet_storage_; |
64 | 62 |
65 uint16 sequence_number_; | 63 uint16 sequence_number_; |
66 uint32 rtp_timestamp_; | 64 uint32 rtp_timestamp_; |
67 uint16 packet_id_; | 65 uint16 packet_id_; |
68 | 66 |
69 size_t send_packet_count_; | 67 size_t send_packet_count_; |
70 size_t send_octet_count_; | 68 size_t send_octet_count_; |
71 }; | 69 }; |
72 | 70 |
73 } // namespace transport | |
74 } // namespace cast | 71 } // namespace cast |
75 } // namespace media | 72 } // namespace media |
76 | 73 |
77 #endif // MEDIA_CAST_TRANSPORT_RTP_SENDER_RTP_PACKETIZER_RTP_PACKETIZER_H_ | 74 #endif // MEDIA_CAST_NET_RTP_RTP_PACKETIZER_H_ |
OLD | NEW |