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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
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. | |
71 // TODO(miu): DEPRECATED. Remove these, as they are ignored. | |
72 int width; | |
73 int height; | |
74 | |
75 // Name of the codec used. | 70 // Name of the codec used. |
76 std::string codec_name; | 71 std::string codec_name; |
77 | 72 |
78 // AES encryption key. | 73 // AES encryption key. |
79 std::string aes_key; | 74 std::string aes_key; |
80 | 75 |
81 // AES encryption IV mask. | 76 // AES encryption IV mask. |
82 std::string aes_iv_mask; | 77 std::string aes_iv_mask; |
83 | 78 |
84 // List of codec specific parameters. | 79 // List of codec specific parameters. |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 CastRtpParams params_; | 157 CastRtpParams params_; |
163 base::Closure stop_callback_; | 158 base::Closure stop_callback_; |
164 ErrorCallback error_callback_; | 159 ErrorCallback error_callback_; |
165 | 160 |
166 base::WeakPtrFactory<CastRtpStream> weak_factory_; | 161 base::WeakPtrFactory<CastRtpStream> weak_factory_; |
167 | 162 |
168 DISALLOW_COPY_AND_ASSIGN(CastRtpStream); | 163 DISALLOW_COPY_AND_ASSIGN(CastRtpStream); |
169 }; | 164 }; |
170 | 165 |
171 #endif // CHROME_RENDERER_MEDIA_CAST_RTP_STREAM_H_ | 166 #endif // CHROME_RENDERER_MEDIA_CAST_RTP_STREAM_H_ |
OLD | NEW |