|
58 | 58 |
|
59 | 59 | #ifdef HAVE_CONFIG_H |
60 | 60 | #include "config.h" |
61 | | -#include "config_unix.h" |
62 | | -#include "config_win32.h" |
63 | 61 | #endif // HAVE_CONFIG_H |
64 | 62 |
|
65 | | -#include <array> |
| 63 | +#include <algorithm> // for max, min |
| 64 | +#include <cassert> // for assert |
| 65 | +#include <cctype> // for toupper |
66 | 66 | #include <chrono> |
67 | | -#include <cmath> // for floor |
| 67 | +#include <climits> // for INT_MIN |
| 68 | +#include <csignal> // for signal, SIGPIPE, SIG_DFL, SIGHUP |
| 69 | +#include <cstdint> // for UINT16_MAX, uint32_t |
| 70 | +#include <cstdio> // for printf, perror, fprintf, stderr |
68 | 71 | #include <cstdlib> |
| 72 | +#include <cstring> // for strcmp, strlen, strtok_r, strchr |
| 73 | +#include <exception> // for exception |
69 | 74 | #include <getopt.h> |
70 | 75 | #include <iostream> |
71 | | -#include <list> |
| 76 | +#include <map> // for map |
72 | 77 | #include <memory> |
73 | | -#include <mutex> |
74 | 78 | #include <pthread.h> |
75 | 79 | #include <stdexcept> |
76 | 80 | #include <string> |
77 | | -#include <string.h> |
78 | | -#include <thread> |
79 | | -#include <tuple> |
| 81 | +#include <string_view> // for operator==, basic_string_view |
| 82 | +#include <unistd.h> // for optarg, optind, STDERR... |
| 83 | +#include <unordered_map> // for unordered_map |
80 | 84 | #include <utility> // for move |
81 | | - |
82 | | -#include "compat/misc.h" |
| 85 | +#include <vector> // for vector |
| 86 | + |
| 87 | +#include "audio/audio.h" // for audio_options, additional_aud... |
| 88 | +#include "audio/audio_capture.h" // for audio_capture_get_vidcap_flags |
| 89 | +#include "audio/audio_playback.h" // for audio_playback_help |
| 90 | +#include "audio/codec.h" // for audio_codec_params, get_name_... |
| 91 | +#include "audio/types.h" // for AC_NONE, AUDIO_FRAME_DISPOSE |
| 92 | +#include "compat/alarm.h" // for alarm |
| 93 | +#include "compat/strings.h" // for strcasecmp |
83 | 94 | #include "control_socket.h" |
84 | 95 | #include "cuda_wrapper.h" |
85 | 96 | #include "debug.h" |
| 97 | +#include "export.h" // for export_destroy, export_init |
86 | 98 | #include "host.h" |
87 | 99 | #include "keyboard_control.h" |
88 | 100 | #include "lib_common.h" |
89 | | -#include "messaging.h" |
90 | 101 | #include "module.h" |
91 | 102 | #include "playback.h" |
92 | 103 | #include "rtp/rtp.h" |
93 | 104 | #include "rtsp/rtsp_utils.h" |
94 | 105 | #include "tv.h" |
| 106 | +#include "types.h" // for video_frame, video_frame_call... |
95 | 107 | #include "ug_runtime_error.hpp" |
96 | 108 | #include "utils/color_out.h" |
| 109 | +#include "utils/macros.h" // for snprintf_ch, to_fourcc |
97 | 110 | #include "utils/misc.h" |
98 | 111 | #include "utils/nat.h" |
99 | 112 | #include "utils/net.h" |
100 | 113 | #include "utils/sdp.h" |
101 | 114 | #include "utils/string.h" |
102 | 115 | #include "utils/string_view_utils.hpp" |
103 | 116 | #include "utils/thread.h" |
104 | | -#include "utils/wait_obj.h" |
105 | 117 | #include "utils/udp_holepunch.h" |
| 118 | +#include "utils/wait_obj.h" // for wait_obj_done, wait_obj_init |
106 | 119 | #include "video.h" |
107 | 120 | #include "video_capture.h" |
| 121 | +#include "video_capture_params.h" // for vidcap_params_get_driver, vid... |
108 | 122 | #include "video_display.h" |
109 | | -#include "video_compress.h" |
110 | | -#include "export.h" |
111 | 123 | #include "video_rxtx.hpp" |
112 | | -#include "audio/audio.h" |
113 | | -#include "audio/audio_capture.h" |
114 | | -#include "audio/audio_playback.h" |
115 | | -#include "audio/codec.h" |
116 | | -#include "audio/utils.h" |
117 | 124 |
|
118 | 125 | #define MOD_NAME "[main] " |
119 | 126 | #define PORT_BASE 5004 |
|
0 commit comments