diff options
Diffstat (limited to 'rtmpserver.h')
| -rw-r--r-- | rtmpserver.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/rtmpserver.h b/rtmpserver.h deleted file mode 100644 index c9383b4..0000000 --- a/rtmpserver.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef RTMPSERVER_H_ -#define RTMPSERVER_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -#include <stdint.h> -#include <stdlib.h> - -typedef struct { - void (*on_start)(void *ctx); - void (*on_stop)(void *ctx); - void (*on_video)(void* ctx, int64_t timestamp, char *buf, size_t size); - void (*on_audio)(void* ctx, int64_t timestamp, char *buf, size_t size); -} RtmpCallbacks; - -void start_rtmpserver(RtmpCallbacks cbs, void *ctx); - -#ifdef __cplusplus -} -#endif - - -#endif
\ No newline at end of file |
