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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 64 |
65 float congestion_control_back_off; | 65 float congestion_control_back_off; |
66 int max_bitrate; | 66 int max_bitrate; |
67 int min_bitrate; | 67 int min_bitrate; |
68 int start_bitrate; | 68 int start_bitrate; |
69 int max_qp; | 69 int max_qp; |
70 int min_qp; | 70 int min_qp; |
71 int max_frame_rate; | 71 int max_frame_rate; |
72 int max_number_of_video_buffers_used; // Max value depend on codec. | 72 int max_number_of_video_buffers_used; // Max value depend on codec. |
73 transport::VideoCodec codec; | 73 transport::VideoCodec codec; |
74 int number_of_cores; | 74 int number_of_encode_threads; |
75 }; | 75 }; |
76 | 76 |
77 struct AudioReceiverConfig { | 77 struct AudioReceiverConfig { |
78 AudioReceiverConfig(); | 78 AudioReceiverConfig(); |
79 | 79 |
80 uint32 feedback_ssrc; | 80 uint32 feedback_ssrc; |
81 uint32 incoming_ssrc; | 81 uint32 incoming_ssrc; |
82 | 82 |
83 int rtcp_interval; | 83 int rtcp_interval; |
84 std::string rtcp_c_name; | 84 std::string rtcp_c_name; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 typedef base::Callback<void(scoped_ptr<base::SharedMemory>)> | 139 typedef base::Callback<void(scoped_ptr<base::SharedMemory>)> |
140 ReceiveVideoEncodeMemoryCallback; | 140 ReceiveVideoEncodeMemoryCallback; |
141 typedef base::Callback<void(size_t size, | 141 typedef base::Callback<void(size_t size, |
142 const ReceiveVideoEncodeMemoryCallback&)> | 142 const ReceiveVideoEncodeMemoryCallback&)> |
143 CreateVideoEncodeMemoryCallback; | 143 CreateVideoEncodeMemoryCallback; |
144 | 144 |
145 } // namespace cast | 145 } // namespace cast |
146 } // namespace media | 146 } // namespace media |
147 | 147 |
148 #endif // MEDIA_CAST_CAST_CONFIG_H_ | 148 #endif // MEDIA_CAST_CAST_CONFIG_H_ |
OLD | NEW |