| OLD | NEW |
| 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 #include <limits.h> | 5 #include <limits.h> |
| 6 #include <stddef.h> | 6 #include <stddef.h> |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <climits> | 10 #include <climits> |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 #include "media/cast/net/udp_transport.h" | 42 #include "media/cast/net/udp_transport.h" |
| 43 #include "media/cast/test/utility/audio_utility.h" | 43 #include "media/cast/test/utility/audio_utility.h" |
| 44 #include "media/cast/test/utility/barcode.h" | 44 #include "media/cast/test/utility/barcode.h" |
| 45 #include "media/cast/test/utility/default_config.h" | 45 #include "media/cast/test/utility/default_config.h" |
| 46 #include "media/cast/test/utility/in_process_receiver.h" | 46 #include "media/cast/test/utility/in_process_receiver.h" |
| 47 #include "media/cast/test/utility/input_builder.h" | 47 #include "media/cast/test/utility/input_builder.h" |
| 48 #include "media/cast/test/utility/standalone_cast_environment.h" | 48 #include "media/cast/test/utility/standalone_cast_environment.h" |
| 49 #include "net/base/ip_address.h" | 49 #include "net/base/ip_address.h" |
| 50 | 50 |
| 51 #if defined(USE_X11) | 51 #if defined(USE_X11) |
| 52 #include "base/threading/thread_task_runner_handle.h" |
| 52 #include "media/cast/test/linux_output_window.h" | 53 #include "media/cast/test/linux_output_window.h" |
| 53 #endif // defined(USE_X11) | 54 #endif // defined(USE_X11) |
| 54 | 55 |
| 55 namespace media { | 56 namespace media { |
| 56 namespace cast { | 57 namespace cast { |
| 57 | 58 |
| 58 // Settings chosen to match default sender settings. | 59 // Settings chosen to match default sender settings. |
| 59 #define DEFAULT_SEND_PORT "0" | 60 #define DEFAULT_SEND_PORT "0" |
| 60 #define DEFAULT_RECEIVE_PORT "2344" | 61 #define DEFAULT_RECEIVE_PORT "2344" |
| 61 #define DEFAULT_SEND_IP "0.0.0.0" | 62 #define DEFAULT_SEND_IP "0.0.0.0" |
| (...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 604 audio_config, | 605 audio_config, |
| 605 video_config, | 606 video_config, |
| 606 window_width, | 607 window_width, |
| 607 window_height); | 608 window_height); |
| 608 player.Start(); | 609 player.Start(); |
| 609 | 610 |
| 610 base::RunLoop().Run(); // Run forever (i.e., until SIGTERM). | 611 base::RunLoop().Run(); // Run forever (i.e., until SIGTERM). |
| 611 NOTREACHED(); | 612 NOTREACHED(); |
| 612 return 0; | 613 return 0; |
| 613 } | 614 } |
| OLD | NEW |