| 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 #include "media/cast/net/cast_transport_sender_impl.h" | 5 #include "media/cast/net/cast_transport_sender_impl.h" | 
| 6 | 6 | 
| 7 #include "base/single_thread_task_runner.h" | 7 #include "base/single_thread_task_runner.h" | 
| 8 #include "base/values.h" | 8 #include "base/values.h" | 
| 9 #include "media/cast/net/cast_transport_defines.h" | 9 #include "media/cast/net/cast_transport_defines.h" | 
| 10 #include "media/cast/net/udp_transport.h" | 10 #include "media/cast/net/udp_transport.h" | 
| 11 #include "net/base/net_errors.h" | 11 #include "net/base/net_errors.h" | 
| 12 #include "net/base/net_util.h" | 12 #include "net/base/net_util.h" | 
|  | 13 #include "net/base/network_interfaces.h" | 
| 13 | 14 | 
| 14 namespace media { | 15 namespace media { | 
| 15 namespace cast { | 16 namespace cast { | 
| 16 | 17 | 
| 17 namespace { | 18 namespace { | 
| 18 | 19 | 
| 19 // See header file for what these mean. | 20 // See header file for what these mean. | 
| 20 const char kOptionDscp[] = "DSCP"; | 21 const char kOptionDscp[] = "DSCP"; | 
| 21 #if defined(OS_WIN) | 22 #if defined(OS_WIN) | 
| 22 const char kOptionNonBlockingIO[] = "non_blocking_io"; | 23 const char kOptionNonBlockingIO[] = "non_blocking_io"; | 
| (...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 480                   sender_ssrc); | 481                   sender_ssrc); | 
| 481   rtcp.SendRtcpFromRtpReceiver(time_data, | 482   rtcp.SendRtcpFromRtpReceiver(time_data, | 
| 482                                cast_message, | 483                                cast_message, | 
| 483                                target_delay, | 484                                target_delay, | 
| 484                                rtcp_events, | 485                                rtcp_events, | 
| 485                                rtp_receiver_statistics); | 486                                rtp_receiver_statistics); | 
| 486 } | 487 } | 
| 487 | 488 | 
| 488 }  // namespace cast | 489 }  // namespace cast | 
| 489 }  // namespace media | 490 }  // namespace media | 
| OLD | NEW | 
|---|