Include buffer caching
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
#include "hw/buffer_list.h"
|
||||
#include "hw/device.h"
|
||||
|
||||
DEFINE_BUFFER_LOCK(http_h264);
|
||||
DEFINE_BUFFER_LOCK(http_h264, 0);
|
||||
|
||||
static const char *const VIDEO_HEADER = "HTTP/1.0 200 OK\r\n"
|
||||
"Access-Control-Allow-Origin: *\r\n"
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include "hw/buffer.h"
|
||||
#include "hw/buffer_lock.h"
|
||||
|
||||
DEFINE_BUFFER_LOCK(http_jpeg);
|
||||
DEFINE_BUFFER_LOCK(http_jpeg, 1000);
|
||||
|
||||
#define PART_BOUNDARY "123456789000000000000987654321"
|
||||
#define CONTENT_TYPE "image/jpeg"
|
||||
|
Reference in New Issue
Block a user