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 MEDIA_CAST_VIDEO_SENDER_VIDEO_SENDER_H_ | 5 #ifndef MEDIA_CAST_VIDEO_SENDER_VIDEO_SENDER_H_ |
6 #define MEDIA_CAST_VIDEO_SENDER_VIDEO_SENDER_H_ | 6 #define MEDIA_CAST_VIDEO_SENDER_VIDEO_SENDER_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 scoped_ptr<EncodedVideoFrame> video_frame, | 100 scoped_ptr<EncodedVideoFrame> video_frame, |
101 const base::TimeTicks& capture_time); | 101 const base::TimeTicks& capture_time); |
102 | 102 |
103 const uint32 incoming_feedback_ssrc_; | 103 const uint32 incoming_feedback_ssrc_; |
104 const base::TimeDelta rtp_max_delay_; | 104 const base::TimeDelta rtp_max_delay_; |
105 const int max_frame_rate_; | 105 const int max_frame_rate_; |
106 | 106 |
107 scoped_refptr<CastEnvironment> cast_environment_; | 107 scoped_refptr<CastEnvironment> cast_environment_; |
108 scoped_ptr<LocalRtcpVideoSenderFeedback> rtcp_feedback_; | 108 scoped_ptr<LocalRtcpVideoSenderFeedback> rtcp_feedback_; |
109 scoped_ptr<LocalRtpVideoSenderStatistics> rtp_video_sender_statistics_; | 109 scoped_ptr<LocalRtpVideoSenderStatistics> rtp_video_sender_statistics_; |
110 scoped_refptr<VideoEncoder> video_encoder_; | 110 scoped_ptr<VideoEncoder> video_encoder_; |
111 scoped_ptr<Rtcp> rtcp_; | 111 scoped_ptr<Rtcp> rtcp_; |
112 scoped_ptr<RtpSender> rtp_sender_; | 112 scoped_ptr<RtpSender> rtp_sender_; |
113 VideoEncoderController* video_encoder_controller_; | 113 VideoEncoderController* video_encoder_controller_; |
114 uint8 max_unacked_frames_; | 114 uint8 max_unacked_frames_; |
115 int last_acked_frame_id_; | 115 int last_acked_frame_id_; |
116 int last_sent_frame_id_; | 116 int last_sent_frame_id_; |
117 int last_sent_key_frame_id_; | 117 int last_sent_key_frame_id_; |
118 int duplicate_ack_; | 118 int duplicate_ack_; |
119 base::TimeTicks last_send_time_; | 119 base::TimeTicks last_send_time_; |
120 base::TimeTicks last_checked_skip_count_time_; | 120 base::TimeTicks last_checked_skip_count_time_; |
121 int last_skip_count_; | 121 int last_skip_count_; |
122 CongestionControl congestion_control_; | 122 CongestionControl congestion_control_; |
123 | 123 |
124 base::WeakPtrFactory<VideoSender> weak_factory_; | 124 base::WeakPtrFactory<VideoSender> weak_factory_; |
125 | 125 |
126 DISALLOW_COPY_AND_ASSIGN(VideoSender); | 126 DISALLOW_COPY_AND_ASSIGN(VideoSender); |
127 }; | 127 }; |
128 | 128 |
129 } // namespace cast | 129 } // namespace cast |
130 } // namespace media | 130 } // namespace media |
131 | 131 |
132 #endif // MEDIA_CAST_VIDEO_SENDER_VIDEO_SENDER_H_ | 132 #endif // MEDIA_CAST_VIDEO_SENDER_VIDEO_SENDER_H_ |
133 | 133 |
OLD | NEW |