Organize host and robot streaming releases

This commit is contained in:
Mike Mi
2026-08-09 15:56:20 +08:00
commit decff19daf
532 changed files with 127054 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#ifndef OMNI_SERVER_UDP_RELAY_H
#define OMNI_SERVER_UDP_RELAY_H
#include "omni_common.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct udp_relay udp_relay_t;
udp_relay_t *udp_relay_open(const char *listen_addr, const char *upstream_addr);
int udp_relay_serve(udp_relay_t *relay);
int udp_relay_close(udp_relay_t *relay);
void udp_relay_free(udp_relay_t *relay);
#ifdef __cplusplus
}
#endif
#endif