| OLD | NEW |
| 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 class maintains a send transport for audio and video in a Cast | 5 // This class maintains a send transport for audio and video in a Cast |
| 6 // Streaming session. | 6 // Streaming session. |
| 7 // Audio, video frames and RTCP messages are submitted to this object | 7 // Audio, video frames and RTCP messages are submitted to this object |
| 8 // and then packetized and paced to the underlying UDP socket. | 8 // and then packetized and paced to the underlying UDP socket. |
| 9 // | 9 // |
| 10 // The hierarchy of send transport in a Cast Streaming session: | 10 // The hierarchy of send transport in a Cast Streaming session: |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 // streams. | 22 // streams. |
| 23 | 23 |
| 24 #ifndef MEDIA_CAST_NET_CAST_TRANSPORT_SENDER_IMPL_H_ | 24 #ifndef MEDIA_CAST_NET_CAST_TRANSPORT_SENDER_IMPL_H_ |
| 25 #define MEDIA_CAST_NET_CAST_TRANSPORT_SENDER_IMPL_H_ | 25 #define MEDIA_CAST_NET_CAST_TRANSPORT_SENDER_IMPL_H_ |
| 26 | 26 |
| 27 #include <set> | 27 #include <set> |
| 28 #include <vector> | 28 #include <vector> |
| 29 | 29 |
| 30 #include "base/callback.h" | 30 #include "base/callback.h" |
| 31 #include "base/gtest_prod_util.h" | 31 #include "base/gtest_prod_util.h" |
| 32 #include "base/macros.h" |
| 32 #include "base/memory/ref_counted.h" | 33 #include "base/memory/ref_counted.h" |
| 33 #include "base/memory/scoped_ptr.h" | 34 #include "base/memory/scoped_ptr.h" |
| 34 #include "base/memory/weak_ptr.h" | 35 #include "base/memory/weak_ptr.h" |
| 35 #include "base/time/tick_clock.h" | 36 #include "base/time/tick_clock.h" |
| 36 #include "base/time/time.h" | 37 #include "base/time/time.h" |
| 37 #include "media/cast/common/transport_encryption_handler.h" | 38 #include "media/cast/common/transport_encryption_handler.h" |
| 38 #include "media/cast/logging/logging_defines.h" | 39 #include "media/cast/logging/logging_defines.h" |
| 39 #include "media/cast/net/cast_transport_config.h" | 40 #include "media/cast/net/cast_transport_config.h" |
| 40 #include "media/cast/net/cast_transport_sender.h" | 41 #include "media/cast/net/cast_transport_sender.h" |
| 41 #include "media/cast/net/pacing/paced_sender.h" | 42 #include "media/cast/net/pacing/paced_sender.h" |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 | 206 |
| 206 base::WeakPtrFactory<CastTransportSenderImpl> weak_factory_; | 207 base::WeakPtrFactory<CastTransportSenderImpl> weak_factory_; |
| 207 | 208 |
| 208 DISALLOW_COPY_AND_ASSIGN(CastTransportSenderImpl); | 209 DISALLOW_COPY_AND_ASSIGN(CastTransportSenderImpl); |
| 209 }; | 210 }; |
| 210 | 211 |
| 211 } // namespace cast | 212 } // namespace cast |
| 212 } // namespace media | 213 } // namespace media |
| 213 | 214 |
| 214 #endif // MEDIA_CAST_NET_CAST_TRANSPORT_SENDER_IMPL_H_ | 215 #endif // MEDIA_CAST_NET_CAST_TRANSPORT_SENDER_IMPL_H_ |
| OLD | NEW |