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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 void InitializeTimers(); | 76 void InitializeTimers(); |
77 | 77 |
78 base::WeakPtrFactory<AudioSender> weak_factory_; | 78 base::WeakPtrFactory<AudioSender> weak_factory_; |
79 | 79 |
80 const uint32 incoming_feedback_ssrc_; | |
81 scoped_refptr<CastEnvironment> cast_environment_; | 80 scoped_refptr<CastEnvironment> cast_environment_; |
82 scoped_refptr<AudioEncoder> audio_encoder_; | 81 scoped_refptr<AudioEncoder> audio_encoder_; |
83 RtpSender rtp_sender_; | 82 RtpSender rtp_sender_; |
84 scoped_ptr<LocalRtpSenderStatistics> rtp_audio_sender_statistics_; | 83 scoped_ptr<LocalRtpSenderStatistics> rtp_audio_sender_statistics_; |
85 scoped_ptr<LocalRtcpAudioSenderFeedback> rtcp_feedback_; | 84 scoped_ptr<LocalRtcpAudioSenderFeedback> rtcp_feedback_; |
86 Rtcp rtcp_; | 85 Rtcp rtcp_; |
87 bool initialized_; | 86 bool initialized_; |
88 | 87 |
89 DISALLOW_COPY_AND_ASSIGN(AudioSender); | 88 DISALLOW_COPY_AND_ASSIGN(AudioSender); |
90 }; | 89 }; |
91 | 90 |
92 } // namespace cast | 91 } // namespace cast |
93 } // namespace media | 92 } // namespace media |
94 | 93 |
95 #endif // MEDIA_CAST_AUDIO_SENDER_H_ | 94 #endif // MEDIA_CAST_AUDIO_SENDER_H_ |
OLD | NEW |