| 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 25 matching lines...) Expand all  Loading... | 
| 36 #include "media/cast/common/transport_encryption_handler.h" | 36 #include "media/cast/common/transport_encryption_handler.h" | 
| 37 #include "media/cast/logging/logging_defines.h" | 37 #include "media/cast/logging/logging_defines.h" | 
| 38 #include "media/cast/logging/simple_event_subscriber.h" | 38 #include "media/cast/logging/simple_event_subscriber.h" | 
| 39 #include "media/cast/net/cast_transport_config.h" | 39 #include "media/cast/net/cast_transport_config.h" | 
| 40 #include "media/cast/net/cast_transport_sender.h" | 40 #include "media/cast/net/cast_transport_sender.h" | 
| 41 #include "media/cast/net/pacing/paced_sender.h" | 41 #include "media/cast/net/pacing/paced_sender.h" | 
| 42 #include "media/cast/net/rtcp/rtcp.h" | 42 #include "media/cast/net/rtcp/rtcp.h" | 
| 43 #include "media/cast/net/rtp/rtp_parser.h" | 43 #include "media/cast/net/rtp/rtp_parser.h" | 
| 44 #include "media/cast/net/rtp/rtp_sender.h" | 44 #include "media/cast/net/rtp/rtp_sender.h" | 
| 45 #include "net/base/net_util.h" | 45 #include "net/base/net_util.h" | 
|  | 46 #include "net/base/network_interfaces.h" | 
| 46 | 47 | 
| 47 namespace media { | 48 namespace media { | 
| 48 namespace cast { | 49 namespace cast { | 
| 49 | 50 | 
| 50 class UdpTransport; | 51 class UdpTransport; | 
| 51 | 52 | 
| 52 class CastTransportSenderImpl : public CastTransportSender { | 53 class CastTransportSenderImpl : public CastTransportSender { | 
| 53  public: | 54  public: | 
| 54   // |external_transport| is only used for testing. | 55   // |external_transport| is only used for testing. | 
| 55   // |raw_events_callback|: Raw events will be returned on this callback | 56   // |raw_events_callback|: Raw events will be returned on this callback | 
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 200 | 201 | 
| 201   base::WeakPtrFactory<CastTransportSenderImpl> weak_factory_; | 202   base::WeakPtrFactory<CastTransportSenderImpl> weak_factory_; | 
| 202 | 203 | 
| 203   DISALLOW_COPY_AND_ASSIGN(CastTransportSenderImpl); | 204   DISALLOW_COPY_AND_ASSIGN(CastTransportSenderImpl); | 
| 204 }; | 205 }; | 
| 205 | 206 | 
| 206 }  // namespace cast | 207 }  // namespace cast | 
| 207 }  // namespace media | 208 }  // namespace media | 
| 208 | 209 | 
| 209 #endif  // MEDIA_CAST_NET_CAST_TRANSPORT_SENDER_IMPL_H_ | 210 #endif  // MEDIA_CAST_NET_CAST_TRANSPORT_SENDER_IMPL_H_ | 
| OLD | NEW | 
|---|