#ifdef HAVE_CONFIG_H
#include "config.h"
#include "config_unix.h"
#include "config_win32.h"
#endif // HAVE_CONFIG_H

#ifdef __cplusplus
extern "C" {
#endif

struct video_frame;

void *recompress_init(const char *host, const char *compress, unsigned short rx_port,
                unsigned short tx_port, int mtu, char *fec);
void recompress_assign_ssrc(void *state, uint32_t ssrc);
void recompress_process_async(void *state, struct video_frame *frame);
/**
 * Waits for completion of previous call recompress_process_async
 */
void recompress_wait_complete(void *state);
void recompress_done(void *state);

#ifdef __cplusplus
}
#endif
