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 20 matching lines...) Expand all Loading... |
31 struct CastTransportRtpConfig { | 31 struct CastTransportRtpConfig { |
32 CastTransportRtpConfig(); | 32 CastTransportRtpConfig(); |
33 ~CastTransportRtpConfig(); | 33 ~CastTransportRtpConfig(); |
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 // Identifier for this stream. | |
42 std::string c_name; | |
43 | |
44 // RTP payload type enum: Specifies the type/encoding of frame data. | 41 // RTP payload type enum: Specifies the type/encoding of frame data. |
45 int rtp_payload_type; | 42 int rtp_payload_type; |
46 | 43 |
47 // The number of most-recent frames that must be stored in the transport | 44 // The number of most-recent frames that must be stored in the transport |
48 // layer, to facilitate re-transmissions. | 45 // layer, to facilitate re-transmissions. |
49 int stored_frames; | 46 int stored_frames; |
50 | 47 |
51 // The AES crypto key and initialization vector. Each of these strings | 48 // The AES crypto key and initialization vector. Each of these strings |
52 // contains the data in binary form, of size kAesKeySize. If they are empty | 49 // contains the data in binary form, of size kAesKeySize. If they are empty |
53 // strings, crypto is not being used. | 50 // strings, crypto is not being used. |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 lhs.ntp_fraction == rhs.ntp_fraction && | 175 lhs.ntp_fraction == rhs.ntp_fraction && |
179 lhs.rtp_timestamp == rhs.rtp_timestamp && | 176 lhs.rtp_timestamp == rhs.rtp_timestamp && |
180 lhs.send_packet_count == rhs.send_packet_count && | 177 lhs.send_packet_count == rhs.send_packet_count && |
181 lhs.send_octet_count == rhs.send_octet_count; | 178 lhs.send_octet_count == rhs.send_octet_count; |
182 } | 179 } |
183 | 180 |
184 } // namespace cast | 181 } // namespace cast |
185 } // namespace media | 182 } // namespace media |
186 | 183 |
187 #endif // MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_ | 184 #endif // MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_ |
OLD | NEW |