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

Side by Side Diff: media/cast/sender/frame_sender.h

Issue 1520613004: cast: Split Rtcp into two for sender and receiver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@timestamp
Patch Set: Rebased Created 4 years, 11 months 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
« no previous file with comments | « media/cast/sender/audio_sender_unittest.cc ('k') | media/cast/sender/video_sender_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // This is the base class for an object that send frames to a receiver. 5 // This is the base class for an object that send frames to a receiver.
6 // TODO(hclam): Refactor such that there is no separate AudioSender vs. 6 // TODO(hclam): Refactor such that there is no separate AudioSender vs.
7 // VideoSender, and the functionality of both is rolled into this class. 7 // VideoSender, and the functionality of both is rolled into this class.
8 8
9 #ifndef MEDIA_CAST_SENDER_FRAME_SENDER_H_ 9 #ifndef MEDIA_CAST_SENDER_FRAME_SENDER_H_
10 #define MEDIA_CAST_SENDER_FRAME_SENDER_H_ 10 #define MEDIA_CAST_SENDER_FRAME_SENDER_H_
11 11
12 #include <stdint.h> 12 #include <stdint.h>
13 13
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
17 #include "base/time/time.h" 17 #include "base/time/time.h"
18 #include "media/cast/cast_environment.h" 18 #include "media/cast/cast_environment.h"
19 #include "media/cast/net/rtcp/rtcp.h" 19 #include "media/cast/net/cast_transport_sender.h"
20 #include "media/cast/net/rtcp/rtcp_defines.h"
20 #include "media/cast/sender/congestion_control.h" 21 #include "media/cast/sender/congestion_control.h"
21 22
22 namespace media { 23 namespace media {
23 namespace cast { 24 namespace cast {
24 25
25 struct SenderEncodedFrame; 26 struct SenderEncodedFrame;
26 27
27 class FrameSender { 28 class FrameSender {
28 public: 29 public:
29 FrameSender(scoped_refptr<CastEnvironment> cast_environment, 30 FrameSender(scoped_refptr<CastEnvironment> cast_environment,
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // NOTE: Weak pointers must be invalidated before all other member variables. 185 // NOTE: Weak pointers must be invalidated before all other member variables.
185 base::WeakPtrFactory<FrameSender> weak_factory_; 186 base::WeakPtrFactory<FrameSender> weak_factory_;
186 187
187 DISALLOW_COPY_AND_ASSIGN(FrameSender); 188 DISALLOW_COPY_AND_ASSIGN(FrameSender);
188 }; 189 };
189 190
190 } // namespace cast 191 } // namespace cast
191 } // namespace media 192 } // namespace media
192 193
193 #endif // MEDIA_CAST_SENDER_FRAME_SENDER_H_ 194 #endif // MEDIA_CAST_SENDER_FRAME_SENDER_H_
OLDNEW
« no previous file with comments | « media/cast/sender/audio_sender_unittest.cc ('k') | media/cast/sender/video_sender_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698