3#include <ossia/detail/config.hpp>
4#if defined(OSSIA_PROTOCOL_ARTNET)
5#include <ossia/network/sockets/udp_socket.hpp>
6#include <ossia/protocols/artnet/dmx_protocol_base.hpp>
12class OSSIA_EXPORT e131_protocol final :
public ossia::net::dmx_output_protocol_base
15 static constexpr uint16_t default_port = 5568;
16 static constexpr uint8_t default_priority = 100;
19 ossia::net::network_context_ptr,
const dmx_config& conf,
20 const ossia::net::outbound_socket_configuration& socket);
27 void update_function();
28 ossia::net::udp_send_socket m_socket;
31class OSSIA_EXPORT e131_input_protocol final :
public ossia::net::dmx_input_protocol_base
34 static constexpr uint16_t default_port = 5568;
35 static constexpr uint8_t default_priority = 100;
38 ossia::net::network_context_ptr,
const dmx_config& conf,
39 const ossia::net::inbound_socket_configuration& socket);
41 ~e131_input_protocol();
46 void on_packet(
const char* bytes,
int sz);
48 ossia::net::udp_receive_socket m_socket;
Root of a device tree.
Definition ossia/network/base/device.hpp:58