captured -> stream

This commit is contained in:
Devaev Maxim
2018-09-18 21:35:52 +03:00
parent 3c20c9af52
commit 0d86ae146c
5 changed files with 121 additions and 121 deletions

View File

@@ -3,14 +3,14 @@
#include <event2/http.h>
#include "tools.h"
#include "capture.h"
#include "stream.h"
struct http_server_runtime_t {
struct event_base *base;
struct evhttp *http;
struct captured_picture_t *captured;
struct captured_picture_t *exposed; // updated and mutex are not used
struct event_base *base;
struct evhttp *http;
struct stream_t *stream;
struct stream_t *exposed; // updated and mutex are not used
};
struct http_server_t {
@@ -21,7 +21,7 @@ struct http_server_t {
};
struct http_server_t *http_server_init(struct captured_picture_t *captured);
struct http_server_t *http_server_init(struct stream_t *stream);
void http_server_destroy(struct http_server_t *server);
int http_server_listen(struct http_server_t *server);