mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
26 lines
445 B
C++
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
|