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 CHROME_RENDERER_MEDIA_CAST_RTP_STREAM_H_ | 5 #ifndef CHROME_RENDERER_MEDIA_CAST_RTP_STREAM_H_ |
6 #define CHROME_RENDERER_MEDIA_CAST_RTP_STREAM_H_ | 6 #define CHROME_RENDERER_MEDIA_CAST_RTP_STREAM_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... | |
39 int payload_type; | 39 int payload_type; |
40 | 40 |
41 // Maximum latency in milliseconds. Implemetation tries to keep latency | 41 // Maximum latency in milliseconds. Implemetation tries to keep latency |
42 // under this threshold. | 42 // under this threshold. |
43 int max_latency_ms; | 43 int max_latency_ms; |
44 | 44 |
45 // Minimum latency. | 45 // Minimum latency. |
46 // Default value (0) means use max_latency_ms. | 46 // Default value (0) means use max_latency_ms. |
47 int min_latency_ms; | 47 int min_latency_ms; |
48 | 48 |
49 // Starting latency on animated content. | |
50 // Default value (0) means use max_latency_ms. | |
51 int animated_latency_ms; | |
miu
2015/12/03 21:26:22
Please initialize this in the constructor.
Or, if
Irfan
2015/12/04 22:45:36
Done.
| |
52 | |
49 // RTP specific field to identify a stream. | 53 // RTP specific field to identify a stream. |
50 int ssrc; | 54 int ssrc; |
51 | 55 |
52 // RTP specific field to idenfity the feedback stream. | 56 // RTP specific field to idenfity the feedback stream. |
53 int feedback_ssrc; | 57 int feedback_ssrc; |
54 | 58 |
55 // Update frequency of payload sample. | 59 // Update frequency of payload sample. |
56 int clock_rate; | 60 int clock_rate; |
57 | 61 |
58 // Maximum bitrate in kilobits per second. | 62 // Maximum bitrate in kilobits per second. |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
157 CastRtpParams params_; | 161 CastRtpParams params_; |
158 base::Closure stop_callback_; | 162 base::Closure stop_callback_; |
159 ErrorCallback error_callback_; | 163 ErrorCallback error_callback_; |
160 | 164 |
161 base::WeakPtrFactory<CastRtpStream> weak_factory_; | 165 base::WeakPtrFactory<CastRtpStream> weak_factory_; |
162 | 166 |
163 DISALLOW_COPY_AND_ASSIGN(CastRtpStream); | 167 DISALLOW_COPY_AND_ASSIGN(CastRtpStream); |
164 }; | 168 }; |
165 | 169 |
166 #endif // CHROME_RENDERER_MEDIA_CAST_RTP_STREAM_H_ | 170 #endif // CHROME_RENDERER_MEDIA_CAST_RTP_STREAM_H_ |
OLD | NEW |