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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 void SendEncodedVideoFrame(const EncodedVideoFrame* video_frame, | 93 void SendEncodedVideoFrame(const EncodedVideoFrame* video_frame, |
94 const base::TimeTicks& capture_time); | 94 const base::TimeTicks& capture_time); |
95 void ResendFrame(uint8 resend_frame_id); | 95 void ResendFrame(uint8 resend_frame_id); |
96 void ReceivedAck(uint8 acked_frame_id); | 96 void ReceivedAck(uint8 acked_frame_id); |
97 void UpdateFramesInFlight(); | 97 void UpdateFramesInFlight(); |
98 | 98 |
99 void SendEncodedVideoFrameMainThread( | 99 void SendEncodedVideoFrameMainThread( |
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_; | |
104 const base::TimeDelta rtp_max_delay_; | 103 const base::TimeDelta rtp_max_delay_; |
105 const int max_frame_rate_; | 104 const int max_frame_rate_; |
106 | 105 |
107 scoped_refptr<CastEnvironment> cast_environment_; | 106 scoped_refptr<CastEnvironment> cast_environment_; |
108 scoped_ptr<LocalRtcpVideoSenderFeedback> rtcp_feedback_; | 107 scoped_ptr<LocalRtcpVideoSenderFeedback> rtcp_feedback_; |
109 scoped_ptr<LocalRtpVideoSenderStatistics> rtp_video_sender_statistics_; | 108 scoped_ptr<LocalRtpVideoSenderStatistics> rtp_video_sender_statistics_; |
110 scoped_refptr<VideoEncoder> video_encoder_; | 109 scoped_refptr<VideoEncoder> video_encoder_; |
111 scoped_ptr<Rtcp> rtcp_; | 110 scoped_ptr<Rtcp> rtcp_; |
112 scoped_ptr<RtpSender> rtp_sender_; | 111 scoped_ptr<RtpSender> rtp_sender_; |
113 VideoEncoderController* video_encoder_controller_; | 112 VideoEncoderController* video_encoder_controller_; |
(...skipping 10 matching lines...) Expand all Loading... |
124 base::WeakPtrFactory<VideoSender> weak_factory_; | 123 base::WeakPtrFactory<VideoSender> weak_factory_; |
125 | 124 |
126 DISALLOW_COPY_AND_ASSIGN(VideoSender); | 125 DISALLOW_COPY_AND_ASSIGN(VideoSender); |
127 }; | 126 }; |
128 | 127 |
129 } // namespace cast | 128 } // namespace cast |
130 } // namespace media | 129 } // namespace media |
131 | 130 |
132 #endif // MEDIA_CAST_VIDEO_SENDER_VIDEO_SENDER_H_ | 131 #endif // MEDIA_CAST_VIDEO_SENDER_VIDEO_SENDER_H_ |
133 | 132 |
OLD | NEW |