![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include <string>

Go to the source code of this file.
Macros | |
| #define | DEFAULT_CONTROL_PORT 5054 |
Functions | |
| int | control_audio_ch_report_count (struct control_state *state) |
| void | control_done (struct control_state *s) |
| int | control_init (int port, int connection_type, struct control_state **state, struct module *root_module, int force_ip_version) |
| void | control_report_event (struct control_state *state, const std::string &event_line) |
| void | control_report_stats (struct control_state *state, const std::string &stat_line) |
| void | control_start (struct control_state *state) |
| bool | control_stats_enabled (struct control_state *state) |
Definition in file control_socket.h.
| #define DEFAULT_CONTROL_PORT 5054 |
Definition at line 41 of file control_socket.h.
Referenced by usage().
| int control_audio_ch_report_count | ( | struct control_state * | state | ) |
Definition at line 1021 of file control_socket.cpp.
References state.
Referenced by decode_audio_frame().
| void control_done | ( | struct control_state * | s | ) |
Definition at line 953 of file control_socket.cpp.
References CLOSESOCKET, control_state::connection_type, control_state::control_thread_id, control_state::internal_fd, INVALID_SOCKET, control_state::mod, module_done(), platform_pipe_close(), SERVER, control_state::socket_fd, control_state::started, control_state::stat_event_cv, control_state::stat_event_queue, control_state::stat_event_thread_id, control_state::stats_lock, and write_all().
Referenced by hd_rum_translator_deinit(), and main().

| int control_init | ( | int | port, |
| int | connection_type, | ||
| struct control_state ** | state, | ||
| struct module * | root_module, | ||
| int | force_ip_version ) |
| [in] | force_ip_version | IP version to force (4 or 6). Use 0 to use default (both 4 and 6 if available) |
| 0 | if success |
Definition at line 159 of file control_socket.cpp.
References control_state::audio_channel_report_count, CLIENT, CLOSESOCKET, module::cls, control_state::connection_type, get_commandline_param(), INVALID_SOCKET, LOG_LEVEL_ERROR, log_msg(), MAX_CLIENTS, control_state::mod, MODULE_CLASS_CONTROL, module_init_default(), module_register(), control_state::network_port, module::new_message, new_message(), module::priv_data, control_state::root_module, SERVER, socket_error, control_state::socket_fd, control_state::started, state, and val.
Referenced by main(), and main().

| void control_report_event | ( | struct control_state * | state, |
| const std::string & | event_line ) |
Definition at line 1007 of file control_socket.cpp.
References control_report_stats_event().

| void control_report_stats | ( | struct control_state * | state, |
| const std::string & | stat_line ) |
Definition at line 998 of file control_socket.cpp.
References control_report_stats_event(), and control_state::stats_on.
Referenced by decode_audio_frame(), filter(), and report_stats().

| void control_start | ( | struct control_state * | state | ) |
Definition at line 296 of file control_socket.cpp.
References control_thread(), control_state::control_thread_id, control_state::internal_fd, LOG_LEVEL_NOTICE, log_msg(), platform_pipe_init(), control_state::socket_fd, socket_get_recv_port(), control_state::started, stat_event_thread(), and control_state::stat_event_thread_id.
Referenced by main(), and main().

| bool control_stats_enabled | ( | struct control_state * | state | ) |
Definition at line 1016 of file control_socket.cpp.
References control_state::stats_on.
Referenced by decode_audio_frame(), filter(), and report_stats().