Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Side by Side Diff: media/cast/net/cast_transport_config.h

Issue 560223002: [Cast] Limit frames in flight by duration, and not by number of frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweaks. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/cast_messages.h ('k') | media/cast/net/cast_transport_config.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/common/cast_messages.h ('k') | media/cast/net/cast_transport_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698