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_AUDIO_SENDER_H_ | 5 #ifndef MEDIA_CAST_AUDIO_SENDER_H_ |
6 #define MEDIA_CAST_AUDIO_SENDER_H_ | 6 #define MEDIA_CAST_AUDIO_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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 friend class LocalRtcpAudioSenderFeedback; | 68 friend class LocalRtcpAudioSenderFeedback; |
69 | 69 |
70 void ResendPackets( | 70 void ResendPackets( |
71 const MissingFramesAndPacketsMap& missing_frames_and_packets); | 71 const MissingFramesAndPacketsMap& missing_frames_and_packets); |
72 | 72 |
73 void ScheduleNextRtcpReport(); | 73 void ScheduleNextRtcpReport(); |
74 void SendRtcpReport(); | 74 void SendRtcpReport(); |
75 | 75 |
76 base::WeakPtrFactory<AudioSender> weak_factory_; | 76 base::WeakPtrFactory<AudioSender> weak_factory_; |
77 | 77 |
78 const uint32 incoming_feedback_ssrc_; | |
79 scoped_refptr<CastEnvironment> cast_environment_; | 78 scoped_refptr<CastEnvironment> cast_environment_; |
80 scoped_refptr<AudioEncoder> audio_encoder_; | 79 scoped_refptr<AudioEncoder> audio_encoder_; |
81 RtpSender rtp_sender_; | 80 RtpSender rtp_sender_; |
82 scoped_ptr<LocalRtpSenderStatistics> rtp_audio_sender_statistics_; | 81 scoped_ptr<LocalRtpSenderStatistics> rtp_audio_sender_statistics_; |
83 scoped_ptr<LocalRtcpAudioSenderFeedback> rtcp_feedback_; | 82 scoped_ptr<LocalRtcpAudioSenderFeedback> rtcp_feedback_; |
84 Rtcp rtcp_; | 83 Rtcp rtcp_; |
85 | 84 |
86 DISALLOW_COPY_AND_ASSIGN(AudioSender); | 85 DISALLOW_COPY_AND_ASSIGN(AudioSender); |
87 }; | 86 }; |
88 | 87 |
89 } // namespace cast | 88 } // namespace cast |
90 } // namespace media | 89 } // namespace media |
91 | 90 |
92 #endif // MEDIA_CAST_AUDIO_SENDER_H_ | 91 #endif // MEDIA_CAST_AUDIO_SENDER_H_ |
OLD | NEW |