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 29 matching lines...) Expand all Loading... |
40 | 40 |
41 // RTP specific field to identify a stream. | 41 // RTP specific field to identify a stream. |
42 int ssrc; | 42 int ssrc; |
43 | 43 |
44 // RTP specific field to idenfity the feedback stream. | 44 // RTP specific field to idenfity the feedback stream. |
45 int feedback_ssrc; | 45 int feedback_ssrc; |
46 | 46 |
47 // Update frequency of payload sample. | 47 // Update frequency of payload sample. |
48 int clock_rate; | 48 int clock_rate; |
49 | 49 |
50 // Maximum bitrate. | 50 // Maximum bitrate in kilobits per second. |
51 int max_bitrate; | 51 int max_bitrate; |
52 | 52 |
53 // Minimum bitrate. | 53 // Minimum bitrate in kilobits per second. |
54 int min_bitrate; | 54 int min_bitrate; |
55 | 55 |
56 // Number of audio channels. | 56 // Number of audio channels. |
57 int channels; | 57 int channels; |
58 | 58 |
59 // Width and height of the video content. | 59 // Width and height of the video content. |
60 int width; | 60 int width; |
61 int height; | 61 int height; |
62 | 62 |
63 // Name of the codec used. | 63 // Name of the codec used. |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 scoped_ptr<CastVideoSink> video_sink_; | 148 scoped_ptr<CastVideoSink> video_sink_; |
149 CastRtpParams params_; | 149 CastRtpParams params_; |
150 base::WeakPtrFactory<CastRtpStream> weak_factory_; | 150 base::WeakPtrFactory<CastRtpStream> weak_factory_; |
151 base::Closure stop_callback_; | 151 base::Closure stop_callback_; |
152 ErrorCallback error_callback_; | 152 ErrorCallback error_callback_; |
153 | 153 |
154 DISALLOW_COPY_AND_ASSIGN(CastRtpStream); | 154 DISALLOW_COPY_AND_ASSIGN(CastRtpStream); |
155 }; | 155 }; |
156 | 156 |
157 #endif // CHROME_RENDERER_MEDIA_CAST_RTP_STREAM_H_ | 157 #endif // CHROME_RENDERER_MEDIA_CAST_RTP_STREAM_H_ |
OLD | NEW |