| 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_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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 std::string aes_key; | 117 std::string aes_key; |
| 118 std::string aes_iv_mask; | 118 std::string aes_iv_mask; |
| 119 }; | 119 }; |
| 120 | 120 |
| 121 // TODO(miu): Naming and minor type changes are badly needed in a later CL. | 121 // TODO(miu): Naming and minor type changes are badly needed in a later CL. |
| 122 struct FrameReceiverConfig { | 122 struct FrameReceiverConfig { |
| 123 FrameReceiverConfig(); | 123 FrameReceiverConfig(); |
| 124 ~FrameReceiverConfig(); | 124 ~FrameReceiverConfig(); |
| 125 | 125 |
| 126 // The receiver's SSRC identifier. | 126 // The receiver's SSRC identifier. |
| 127 uint32 feedback_ssrc; // TODO(miu): Rename to receiver_ssrc for clarity. | 127 uint32 receiver_ssrc; |
| 128 | 128 |
| 129 // The sender's SSRC identifier. | 129 // The sender's SSRC identifier. |
| 130 uint32 incoming_ssrc; // TODO(miu): Rename to sender_ssrc for clarity. | 130 uint32 sender_ssrc; |
| 131 | 131 |
| 132 // Mean interval (in milliseconds) between RTCP reports. | 132 // Mean interval (in milliseconds) between RTCP reports. |
| 133 // TODO(miu): Remove this since it's never not kDefaultRtcpIntervalMs. | 133 // TODO(miu): Remove this since it's never not kDefaultRtcpIntervalMs. |
| 134 int rtcp_interval; | 134 int rtcp_interval; |
| 135 | 135 |
| 136 // The total amount of time between a frame's capture/recording on the sender | 136 // The total amount of time between a frame's capture/recording on the sender |
| 137 // and its playback on the receiver (i.e., shown to a user). This is fixed as | 137 // and its playback on the receiver (i.e., shown to a user). This is fixed as |
| 138 // a value large enough to give the system sufficient time to encode, | 138 // a value large enough to give the system sufficient time to encode, |
| 139 // transmit/retransmit, receive, decode, and render; given its run-time | 139 // transmit/retransmit, receive, decode, and render; given its run-time |
| 140 // environment (sender/receiver hardware performance, network conditions, | 140 // environment (sender/receiver hardware performance, network conditions, |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 typedef base::Callback<void(scoped_ptr<base::SharedMemory>)> | 189 typedef base::Callback<void(scoped_ptr<base::SharedMemory>)> |
| 190 ReceiveVideoEncodeMemoryCallback; | 190 ReceiveVideoEncodeMemoryCallback; |
| 191 typedef base::Callback<void(size_t size, | 191 typedef base::Callback<void(size_t size, |
| 192 const ReceiveVideoEncodeMemoryCallback&)> | 192 const ReceiveVideoEncodeMemoryCallback&)> |
| 193 CreateVideoEncodeMemoryCallback; | 193 CreateVideoEncodeMemoryCallback; |
| 194 | 194 |
| 195 } // namespace cast | 195 } // namespace cast |
| 196 } // namespace media | 196 } // namespace media |
| 197 | 197 |
| 198 #endif // MEDIA_CAST_CAST_CONFIG_H_ | 198 #endif // MEDIA_CAST_CAST_CONFIG_H_ |
| OLD | NEW |