Kamil Trzcinski 5ee0bee59f Add WebRTC support using libdatachannel
The WebRTC is exposed via `/video.html` endpoint
and enabled by default as long as h264 stream
is available.
2022-09-24 10:38:37 +02:00

12 lines
251 B
C

#pragma once
#include "util/http/http.h"
#include "util/opts/log.h"
#include "util/opts/fourcc.h"
#include "util/opts/control.h"
#include "device/buffer.h"
// WebRTC
void http_webrtc_offer(http_worker_t *worker, FILE *stream);
void webrtc_server();