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

Side by Side Diff: media/cast/cast_config.h

Issue 427733002: Cast: Remove unused RTCP messages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/cast_messages.h ('k') | media/cast/net/cast_transport_config.h » ('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 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_CAST_CONFIG_H_ 5 #ifndef MEDIA_CAST_CAST_CONFIG_H_
6 #define MEDIA_CAST_CAST_CONFIG_H_ 6 #define MEDIA_CAST_CAST_CONFIG_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 18 matching lines...) Expand all
29 AudioSenderConfig(); 29 AudioSenderConfig();
30 ~AudioSenderConfig(); 30 ~AudioSenderConfig();
31 31
32 // Identifier referring to the sender, used by the receiver. 32 // Identifier referring to the sender, used by the receiver.
33 uint32 ssrc; 33 uint32 ssrc;
34 34
35 // The receiver's SSRC identifier. 35 // The receiver's SSRC identifier.
36 uint32 incoming_feedback_ssrc; 36 uint32 incoming_feedback_ssrc;
37 37
38 int rtcp_interval; 38 int rtcp_interval;
39 std::string rtcp_c_name;
40 39
41 // The total amount of time between a frame's capture/recording on the sender 40 // The total amount of time between a frame's capture/recording on the sender
42 // and its playback on the receiver (i.e., shown to a user). This is fixed as 41 // and its playback on the receiver (i.e., shown to a user). This is fixed as
43 // a value large enough to give the system sufficient time to encode, 42 // a value large enough to give the system sufficient time to encode,
44 // transmit/retransmit, receive, decode, and render; given its run-time 43 // transmit/retransmit, receive, decode, and render; given its run-time
45 // environment (sender/receiver hardware performance, network conditions, 44 // environment (sender/receiver hardware performance, network conditions,
46 // etc.). 45 // etc.).
47 base::TimeDelta target_playout_delay; 46 base::TimeDelta target_playout_delay;
48 47
49 // RTP payload type enum: Specifies the type/encoding of frame data. 48 // RTP payload type enum: Specifies the type/encoding of frame data.
(...skipping 16 matching lines...) Expand all
66 VideoSenderConfig(); 65 VideoSenderConfig();
67 ~VideoSenderConfig(); 66 ~VideoSenderConfig();
68 67
69 // Identifier referring to the sender, used by the receiver. 68 // Identifier referring to the sender, used by the receiver.
70 uint32 ssrc; 69 uint32 ssrc;
71 70
72 // The receiver's SSRC identifier. 71 // The receiver's SSRC identifier.
73 uint32 incoming_feedback_ssrc; // TODO(miu): Rename to receiver_ssrc. 72 uint32 incoming_feedback_ssrc; // TODO(miu): Rename to receiver_ssrc.
74 73
75 int rtcp_interval; 74 int rtcp_interval;
76 std::string rtcp_c_name;
77 75
78 // The total amount of time between a frame's capture/recording on the sender 76 // The total amount of time between a frame's capture/recording on the sender
79 // and its playback on the receiver (i.e., shown to a user). This is fixed as 77 // and its playback on the receiver (i.e., shown to a user). This is fixed as
80 // a value large enough to give the system sufficient time to encode, 78 // a value large enough to give the system sufficient time to encode,
81 // transmit/retransmit, receive, decode, and render; given its run-time 79 // transmit/retransmit, receive, decode, and render; given its run-time
82 // environment (sender/receiver hardware performance, network conditions, 80 // environment (sender/receiver hardware performance, network conditions,
83 // etc.). 81 // etc.).
84 base::TimeDelta target_playout_delay; 82 base::TimeDelta target_playout_delay;
85 83
86 // RTP payload type enum: Specifies the type/encoding of frame data. 84 // RTP payload type enum: Specifies the type/encoding of frame data.
(...skipping 29 matching lines...) Expand all
116 // The receiver's SSRC identifier. 114 // The receiver's SSRC identifier.
117 uint32 feedback_ssrc; // TODO(miu): Rename to receiver_ssrc for clarity. 115 uint32 feedback_ssrc; // TODO(miu): Rename to receiver_ssrc for clarity.
118 116
119 // The sender's SSRC identifier. 117 // The sender's SSRC identifier.
120 uint32 incoming_ssrc; // TODO(miu): Rename to sender_ssrc for clarity. 118 uint32 incoming_ssrc; // TODO(miu): Rename to sender_ssrc for clarity.
121 119
122 // Mean interval (in milliseconds) between RTCP reports. 120 // Mean interval (in milliseconds) between RTCP reports.
123 // TODO(miu): Remove this since it's never not kDefaultRtcpIntervalMs. 121 // TODO(miu): Remove this since it's never not kDefaultRtcpIntervalMs.
124 int rtcp_interval; 122 int rtcp_interval;
125 123
126 // CNAME representing this receiver.
127 // TODO(miu): Remove this since it should be derived elsewhere (probably in
128 // the transport layer).
129 std::string rtcp_c_name;
130
131 // The total amount of time between a frame's capture/recording on the sender 124 // The total amount of time between a frame's capture/recording on the sender
132 // and its playback on the receiver (i.e., shown to a user). This is fixed as 125 // and its playback on the receiver (i.e., shown to a user). This is fixed as
133 // a value large enough to give the system sufficient time to encode, 126 // a value large enough to give the system sufficient time to encode,
134 // transmit/retransmit, receive, decode, and render; given its run-time 127 // transmit/retransmit, receive, decode, and render; given its run-time
135 // environment (sender/receiver hardware performance, network conditions, 128 // environment (sender/receiver hardware performance, network conditions,
136 // etc.). 129 // etc.).
137 int rtp_max_delay_ms; // TODO(miu): Change to TimeDelta target_playout_delay. 130 int rtp_max_delay_ms; // TODO(miu): Change to TimeDelta target_playout_delay.
138 131
139 // RTP payload type enum: Specifies the type/encoding of frame data. 132 // RTP payload type enum: Specifies the type/encoding of frame data.
140 int rtp_payload_type; 133 int rtp_payload_type;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 typedef base::Callback<void(scoped_ptr<base::SharedMemory>)> 174 typedef base::Callback<void(scoped_ptr<base::SharedMemory>)>
182 ReceiveVideoEncodeMemoryCallback; 175 ReceiveVideoEncodeMemoryCallback;
183 typedef base::Callback<void(size_t size, 176 typedef base::Callback<void(size_t size,
184 const ReceiveVideoEncodeMemoryCallback&)> 177 const ReceiveVideoEncodeMemoryCallback&)>
185 CreateVideoEncodeMemoryCallback; 178 CreateVideoEncodeMemoryCallback;
186 179
187 } // namespace cast 180 } // namespace cast
188 } // namespace media 181 } // namespace media
189 182
190 #endif // MEDIA_CAST_CAST_CONFIG_H_ 183 #endif // MEDIA_CAST_CAST_CONFIG_H_
OLDNEW
« no previous file with comments | « chrome/common/cast_messages.h ('k') | media/cast/net/cast_transport_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698