Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(542)

Side by Side Diff: media/cast/audio_sender/audio_sender.h

Issue 70713002: Cast: Restructure RTCP interface to better fit our usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698