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

Side by Side Diff: media/cast/transport/cast_transport_sender.h

Issue 138753004: Cast: IPC glue between cast library transport and encoders. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor cleanup Created 6 years, 10 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/transport/cast_transport_defines.h ('k') | media/cast/transport/rtcp/rtcp_builder.h » ('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 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 // This is the main interface for the cast transport sender. The cast sender 5 // This is the main interface for the cast transport sender. The cast sender
6 // handles the cast pipeline from encoded frames (both audio and video), to 6 // handles the cast pipeline from encoded frames (both audio and video), to
7 // encryption, packetization and transport. 7 // encryption, packetization and transport.
8 // All configurations are done at creation. 8 // All configurations are done at creation.
9 9
10 // Construction of the Cast Sender and the Cast Transport Sender should be done 10 // Construction of the Cast Sender and the Cast Transport Sender should be done
(...skipping 20 matching lines...) Expand all
31 #include "media/cast/transport/cast_transport_config.h" 31 #include "media/cast/transport/cast_transport_config.h"
32 #include "media/cast/transport/cast_transport_defines.h" 32 #include "media/cast/transport/cast_transport_defines.h"
33 33
34 namespace media { 34 namespace media {
35 namespace cast { 35 namespace cast {
36 namespace transport { 36 namespace transport {
37 37
38 typedef base::Callback<void(CastTransportStatus status)> 38 typedef base::Callback<void(CastTransportStatus status)>
39 CastTransportStatusCallback; 39 CastTransportStatusCallback;
40 40
41 typedef base::Callback<void(RtcpSenderInfo& sender_info, 41 typedef base::Callback<void(const RtcpSenderInfo& sender_info,
42 base::TimeTicks time_sent, 42 base::TimeTicks time_sent,
43 uint32 rtp_timestamp)> CastTransportRtpStatistics; 43 uint32 rtp_timestamp)> CastTransportRtpStatistics;
44 44
45 // The application should only trigger this class from the transport thread. 45 // The application should only trigger this class from the transport thread.
46 class CastTransportSender : public base::NonThreadSafe { 46 class CastTransportSender : public base::NonThreadSafe {
47 public: 47 public:
48 static CastTransportSender* CreateCastTransportSender( 48 static CastTransportSender* CreateCastTransportSender(
49 base::TickClock* clock, 49 base::TickClock* clock,
50 const CastTransportConfig& config, 50 const CastTransportConfig& config,
51 const CastTransportStatusCallback& status_callback, 51 const CastTransportStatusCallback& status_callback,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 virtual void SubscribeVideoRtpStatsCallback( 89 virtual void SubscribeVideoRtpStatsCallback(
90 const CastTransportRtpStatistics& callback) = 0; 90 const CastTransportRtpStatistics& callback) = 0;
91 }; 91 };
92 92
93 } // namespace transport 93 } // namespace transport
94 } // namespace cast 94 } // namespace cast
95 } // namespace media 95 } // namespace media
96 96
97 #endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_SENDER_H_ 97 #endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_SENDER_H_
OLDNEW
« no previous file with comments | « media/cast/transport/cast_transport_defines.h ('k') | media/cast/transport/rtcp/rtcp_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698