10 Commits

Author SHA1 Message Date
Kamil Trzcinski
e1a5f987c4 http: fix potential memory corruption 2023-06-02 00:14:41 +02:00
Kamil Trzcinski
6e89ac9663 Ensure that /snapshot is always "up-to date" 2023-04-29 10:16:04 +02:00
Kamil Trzcinski
b2dfba5577 cmd: add /status.json to describe what and how it works 2023-02-22 21:40:17 +01:00
MK3S+ Printer
4b2f51ba2e Fix /option support 2022-10-29 10:00:17 +02:00
Kamil Trzcinski
caafd0da44 Add Access-Control-Allow-Origin: * everywhere 2022-10-24 00:22:48 +02:00
Kamil Trzcinski
771f61449b Fix Unexpected error 9 on netlink descriptor <fd>
The problem is double close of `fd` since the `fdopen`
takes ownership of fd passed.
2022-09-24 10:59:08 +02:00
Kamil Trzcinski
f08421a796 Improve HTTP support (to better handle params) and redirect /video params 2022-09-24 10:41:09 +02:00
Kamil Trzcinski
5801152b03 Add /video to automatically give HLS to supported browser 2022-09-24 10:40:52 +02:00
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
Kamil Trzcinski
17ec167dd9 Move part of http/ into util/http/ 2022-09-02 22:02:41 +02:00