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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 53 |
54 // Maximum bitrate in kilobits per second. | 54 // Maximum bitrate in kilobits per second. |
55 int max_bitrate; | 55 int max_bitrate; |
56 | 56 |
57 // Minimum bitrate in kilobits per second. | 57 // Minimum bitrate in kilobits per second. |
58 int min_bitrate; | 58 int min_bitrate; |
59 | 59 |
60 // Number of audio channels. | 60 // Number of audio channels. |
61 int channels; | 61 int channels; |
62 | 62 |
| 63 // The maximum frame rate. |
| 64 double max_frame_rate; |
| 65 |
63 // Width and height of the video content. | 66 // Width and height of the video content. |
64 int width; | 67 int width; |
65 int height; | 68 int height; |
66 | 69 |
67 // Name of the codec used. | 70 // Name of the codec used. |
68 std::string codec_name; | 71 std::string codec_name; |
69 | 72 |
70 // AES encryption key. | 73 // AES encryption key. |
71 std::string aes_key; | 74 std::string aes_key; |
72 | 75 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 scoped_ptr<CastVideoSink> video_sink_; | 156 scoped_ptr<CastVideoSink> video_sink_; |
154 CastRtpParams params_; | 157 CastRtpParams params_; |
155 base::WeakPtrFactory<CastRtpStream> weak_factory_; | 158 base::WeakPtrFactory<CastRtpStream> weak_factory_; |
156 base::Closure stop_callback_; | 159 base::Closure stop_callback_; |
157 ErrorCallback error_callback_; | 160 ErrorCallback error_callback_; |
158 | 161 |
159 DISALLOW_COPY_AND_ASSIGN(CastRtpStream); | 162 DISALLOW_COPY_AND_ASSIGN(CastRtpStream); |
160 }; | 163 }; |
161 | 164 |
162 #endif // CHROME_RENDERER_MEDIA_CAST_RTP_STREAM_H_ | 165 #endif // CHROME_RENDERER_MEDIA_CAST_RTP_STREAM_H_ |
OLD | NEW |