Files
vimix/NetworkToolkit.h
2020-10-20 00:28:44 +02:00

26 lines
445 B
C++

#ifndef NETWORKTOOLKIT_H
#define NETWORKTOOLKIT_H
#include <string>
#include <vector>
namespace NetworkToolkit
{
typedef enum {
TCP_JPEG = 0,
TCP_H264,
SHM_RAW,
DEFAULT
} Protocol;
extern const char* protocol_name[DEFAULT];
extern const std::vector<std::string> protocol_broadcast_pipeline;
extern const std::vector<std::string> protocol_receive_pipeline;
std::vector<std::string> host_ips();
}
#endif // NETWORKTOOLKIT_H