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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 // Minimum bitrate in kilobits per second. | 61 // Minimum bitrate in kilobits per second. |
62 int min_bitrate; | 62 int min_bitrate; |
63 | 63 |
64 // Number of audio channels. | 64 // Number of audio channels. |
65 int channels; | 65 int channels; |
66 | 66 |
67 // The maximum frame rate. | 67 // The maximum frame rate. |
68 double max_frame_rate; | 68 double max_frame_rate; |
69 | 69 |
70 // Width and height of the video content. | 70 // Width and height of the video content. |
| 71 // TODO(miu): DEPRECATED. Remove these, as they are ignored. |
71 int width; | 72 int width; |
72 int height; | 73 int height; |
73 | 74 |
74 // Name of the codec used. | 75 // Name of the codec used. |
75 std::string codec_name; | 76 std::string codec_name; |
76 | 77 |
77 // AES encryption key. | 78 // AES encryption key. |
78 std::string aes_key; | 79 std::string aes_key; |
79 | 80 |
80 // AES encryption IV mask. | 81 // AES encryption IV mask. |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 CastRtpParams params_; | 162 CastRtpParams params_; |
162 base::Closure stop_callback_; | 163 base::Closure stop_callback_; |
163 ErrorCallback error_callback_; | 164 ErrorCallback error_callback_; |
164 | 165 |
165 base::WeakPtrFactory<CastRtpStream> weak_factory_; | 166 base::WeakPtrFactory<CastRtpStream> weak_factory_; |
166 | 167 |
167 DISALLOW_COPY_AND_ASSIGN(CastRtpStream); | 168 DISALLOW_COPY_AND_ASSIGN(CastRtpStream); |
168 }; | 169 }; |
169 | 170 |
170 #endif // CHROME_RENDERER_MEDIA_CAST_RTP_STREAM_H_ | 171 #endif // CHROME_RENDERER_MEDIA_CAST_RTP_STREAM_H_ |
OLD | NEW |