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_CAST_TRANSPORT_CONFIG_H_ | 5 #ifndef MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_ |
6 #define MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_ | 6 #define MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 23 matching lines...) Expand all Loading... |
34 | 34 |
35 // Identifier refering to this sender. | 35 // Identifier refering to this sender. |
36 uint32 ssrc; | 36 uint32 ssrc; |
37 | 37 |
38 // Identifier for incoming RTCP traffic. | 38 // Identifier for incoming RTCP traffic. |
39 uint32 feedback_ssrc; | 39 uint32 feedback_ssrc; |
40 | 40 |
41 // RTP payload type enum: Specifies the type/encoding of frame data. | 41 // RTP payload type enum: Specifies the type/encoding of frame data. |
42 int rtp_payload_type; | 42 int rtp_payload_type; |
43 | 43 |
44 // The number of most-recent frames that must be stored in the transport | |
45 // layer, to facilitate re-transmissions. | |
46 int stored_frames; | |
47 | |
48 // The AES crypto key and initialization vector. Each of these strings | 44 // The AES crypto key and initialization vector. Each of these strings |
49 // contains the data in binary form, of size kAesKeySize. If they are empty | 45 // contains the data in binary form, of size kAesKeySize. If they are empty |
50 // strings, crypto is not being used. | 46 // strings, crypto is not being used. |
51 std::string aes_key; | 47 std::string aes_key; |
52 std::string aes_iv_mask; | 48 std::string aes_iv_mask; |
53 }; | 49 }; |
54 | 50 |
55 // A combination of metadata and data for one encoded frame. This can contain | 51 // A combination of metadata and data for one encoded frame. This can contain |
56 // audio data or video data or other. | 52 // audio data or video data or other. |
57 struct EncodedFrame { | 53 struct EncodedFrame { |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 lhs.ntp_fraction == rhs.ntp_fraction && | 179 lhs.ntp_fraction == rhs.ntp_fraction && |
184 lhs.rtp_timestamp == rhs.rtp_timestamp && | 180 lhs.rtp_timestamp == rhs.rtp_timestamp && |
185 lhs.send_packet_count == rhs.send_packet_count && | 181 lhs.send_packet_count == rhs.send_packet_count && |
186 lhs.send_octet_count == rhs.send_octet_count; | 182 lhs.send_octet_count == rhs.send_octet_count; |
187 } | 183 } |
188 | 184 |
189 } // namespace cast | 185 } // namespace cast |
190 } // namespace media | 186 } // namespace media |
191 | 187 |
192 #endif // MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_ | 188 #endif // MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_ |
OLD | NEW |