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

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

Issue 314593002: [Cast] Cleanup: Remove TransportXXXXXSender, an unnecessary layer of indirection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix CastTransportHostFilterTest.SimpleMessages. Created 6 years, 6 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 | Annotate | Revision Log
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. It accepts encoded
6 // handles the cast pipeline from encoded frames (both audio and video), to 6 // frames (both audio and video), encrypts their encoded data, packetizes them
7 // encryption, packetization and transport. 7 // and feeds them into a transport (e.g., UDP).
8 8
9 // Construction of the Cast Sender and the Cast Transport Sender should be done 9 // Construction of the Cast Sender and the Cast Transport Sender should be done
10 // in the following order: 10 // in the following order:
11 // 1. Create CastTransportSender. 11 // 1. Create CastTransportSender.
12 // 2. Create CastSender (accepts CastTransportSender as an input). 12 // 2. Create CastSender (accepts CastTransportSender as an input).
13 // 3. Call CastTransportSender::SetPacketReceiver to ensure that the packets 13 // 3. Call CastTransportSender::SetPacketReceiver to ensure that the packets
14 // received by the CastTransportSender will be sent to the CastSender. 14 // received by the CastTransportSender will be sent to the CastSender.
15 // Steps 3 can be done interchangeably. 15 // Steps 3 can be done interchangeably.
16 16
17 // Destruction: The CastTransportSender is assumed to be valid as long as the 17 // Destruction: The CastTransportSender is assumed to be valid as long as the
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 virtual void ResendPackets( 95 virtual void ResendPackets(
96 bool is_audio, 96 bool is_audio,
97 const MissingFramesAndPacketsMap& missing_packets) = 0; 97 const MissingFramesAndPacketsMap& missing_packets) = 0;
98 }; 98 };
99 99
100 } // namespace transport 100 } // namespace transport
101 } // namespace cast 101 } // namespace cast
102 } // namespace media 102 } // namespace media
103 103
104 #endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_SENDER_H_ 104 #endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_SENDER_H_
OLDNEW
« no previous file with comments | « media/cast/transport/cast_transport_config.cc ('k') | media/cast/transport/cast_transport_sender_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698