#178, refactored part of libvjnet and changed to MJPEG encoding/decoding instead of LZO. For unicast stream, header is put before the payload. For multicast stream, header is included with each chunk and is defined in libvjnet/packet.h

This commit is contained in:
c0ntrol
2019-01-01 23:07:37 +01:00
parent 19fbee0be4
commit 67fbb48d72
25 changed files with 396 additions and 751 deletions

View File

@@ -22,9 +22,9 @@
int net_already_opened(const char *filname, int n, int chan);
void net_thread_stop(vj_tag *tag);
int net_thread_start(vj_tag *tag, int w, int h, int f);
int net_thread_start(vj_tag *tag, VJFrame *info);
void net_thread_remote(void *priv, void *p );
int net_thread_get_frame( vj_tag *tag, uint8_t *buffer[3]);
int net_thread_get_frame( vj_tag *tag, VJFrame *dst);
void net_thread_exit(vj_tag *tag);
void *net_threader(VJFrame *frame);
void net_set_screen_id(int id);