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

Unified Diff: media/cast/sender/frame_sender.h

Issue 2048033003: Refactoring: CastTransport InitializeAudio/InitializeVideo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comments. Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cast/sender/audio_sender_unittest.cc ('k') | media/cast/sender/frame_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/sender/frame_sender.h
diff --git a/media/cast/sender/frame_sender.h b/media/cast/sender/frame_sender.h
index 6f73df38ba8e47cf1a6f7ecdf8f95cb65c49dab5..177193f0a9ed25c906d69f7103c002719fd3ad1d 100644
--- a/media/cast/sender/frame_sender.h
+++ b/media/cast/sender/frame_sender.h
@@ -15,6 +15,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "base/time/time.h"
+#include "media/cast/cast_config.h"
#include "media/cast/cast_environment.h"
#include "media/cast/net/cast_transport.h"
#include "media/cast/net/rtcp/rtcp_defines.h"
@@ -28,14 +29,8 @@ struct SenderEncodedFrame;
class FrameSender {
public:
FrameSender(scoped_refptr<CastEnvironment> cast_environment,
- bool is_audio,
CastTransport* const transport_sender,
- int rtp_timebase,
- uint32_t ssrc,
- double max_frame_rate,
- base::TimeDelta min_playout_delay,
- base::TimeDelta max_playout_delay,
- base::TimeDelta animated_playout_delay,
+ const FrameSenderConfig& config,
CongestionControl* congestion_control);
virtual ~FrameSender();
« no previous file with comments | « media/cast/sender/audio_sender_unittest.cc ('k') | media/cast/sender/frame_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698