124 Commits

Author SHA1 Message Date
Kamil Trzcinski
272b16ee1c webrtc: accept iceServers: [] provided in POST /webrtc, support trickle ICE
Thanks https://github.com/ayufan/camera-streamer/pull/65
2023-06-13 20:35:48 +02:00
Kamil Trzcinski
e8ffe47343 webrtc: allow to specify ice-servers on command line 2023-06-13 20:35:44 +02:00
Kamil Trzcinski
7cb28d810d html: add control.html and change POST /option interface 2023-06-12 22:39:28 +02:00
Kamil Trzcinski
899f2c5e62 status: extend to provide all camera options and properties in JSON payload
- control: add `device_option_is_equal`
- libcamera: provide human readable configurable options
- v4l2: include camera control values
- libcamera: store all applied controls
- libcamera: use `device_option_is_equal`
2023-06-12 22:38:08 +02:00
Kamil Trzcinski
69584c07db package: create debian package with prebuilds
The generated variants include raspi and non-raspi platforms.
2023-05-27 10:08:02 +02:00
Kamil Trzcinski
9106d2c7f4 status: fix snapshot url 2023-05-09 11:23:44 +02:00
Kamil Trzcinski
c88d5c9b17 Rename status.json to status 2023-04-29 10:21:52 +02:00
Kamil Trzcinski
42dbdb7345 cmd: add NV12 and NV21 formats support 2023-03-08 19:37:28 +01:00
Kamil Trzcinski
b4fda62ea8 rtsp: enable non-truncated version 2023-03-03 21:25:50 +01:00
Kamil Trzcinski
43f2817442 rtsp: fix SIGSEGV 2023-03-03 17:41:38 +01:00
Kamil Trzcinski
65e3b17397 cmd: add and print --version on startup 2023-02-28 21:59:55 +01:00
Kamil Trzcinski
34ff200ceb camera: add force_active option to make camera always hot 2023-02-24 22:20:36 +01:00
Kamil Trzcinski
f7f4eba9ca links: use n_output_lists for link_t 2023-02-24 19:59:51 +01:00
Kamil Trzcinski
8042743e1a links: allow to log processing statistics 2023-02-24 11:30:26 +01:00
Kamil Trzcinski
7c375f70a6 links: rename source and sinks to capture_list and output_lists 2023-02-24 11:26:49 +01:00
Kamil Trzcinski
b2dfba5577 cmd: add /status.json to describe what and how it works 2023-02-22 21:40:17 +01:00
Kamil Trzcinski
aafd120af3 libcamera: support Rectangle and Size types
Fixes: https://github.com/ayufan/camera-streamer/issues/28
Replaces: https://github.com/ayufan/camera-streamer/pull/30
2023-02-22 18:07:27 +01:00
Kamil Trzcinski
3bc447c772 camera: add support for V4L2_PIX_FMT_SBGGR10P 2023-02-22 17:32:47 +01:00
Kamil Trzcinski
c9600d1253 device: allow to use dummy as a way to test streamer
This adds loopback tests via `tests/`
2023-02-22 17:32:47 +01:00
Kamil Trzciński
ca08adb62f Add -snapshot.height, -stream.height and -video.height 2023-02-22 17:32:46 +01:00
Kamil Trzcinski
caafd0da44 Add Access-Control-Allow-Origin: * everywhere 2022-10-24 00:22:48 +02:00
Kamil Trzcinski
57fb09fbf1 Improve index.html to provide better description of all options 2022-10-03 01:25:51 +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
0a37c63d00 Enumerate v4l2 devices 2022-09-03 10:21:46 +02:00
Kamil Trzcinski
328198745b Remove rtsp_options from output/rtsp 2022-09-03 10:20:17 +02:00
Kamil Trzcinski
dd3aa47805 Move http/ and rtsp/ into output/ 2022-09-02 22:06:19 +02:00
Kamil Trzcinski
17ec167dd9 Move part of http/ into util/http/ 2022-09-02 22:02:41 +02:00
Kamil Trzcinski
f5726fc9b2 Move opts/ into util/opts/ 2022-09-02 22:00:01 +02:00
Kamil Trzcinski
9a592fb00e Change h264 stream to 2Mbps by default 2022-08-31 19:18:45 +02:00
Kamil Trzcinski
94afdc2cf4 Split camera-streamer into separate files 2022-08-31 10:53:14 +02:00
Kamil Trzcinski
05a25e853a Move camera-streamer into subdirectory 2022-08-31 10:50:00 +02:00
Kamil Trzcinski
d430d68fc7 Improve RTSP support to configure port and expose low res stream 2022-08-27 20:38:15 +02:00
Kamil Trzcinski
d49169070a Add RTSP support via live555 2022-08-25 17:16:24 +02:00
Kamil Trzcinski
7a584dc16d Add disclaimer about auto_focus, vflip and hflip 2022-08-24 17:51:33 +02:00
Kamil Trzcinski
a9c65fae0d Allow to set -camera-vflip and -camera-hflip 2022-08-24 17:48:55 +02:00
Kamil Trzcinski
4e641dea1e Open default camera of a given type 2022-07-12 21:59:02 +02:00
Kamil Trzcinski
1857cd8d77 Improve options handling 2022-07-12 21:49:49 +02:00
MK3S+ Printer
9e7e14d15b Expose snapshot.jpg 2022-07-11 15:58:16 +02:00
Kamil Trzcinski
2cec9a9032 Make JPEG to be valid format 2022-07-08 13:42:22 +02:00
Kamil Trzcinski
6460d1b902 Emit options of all devices 2022-07-08 12:20:09 +02:00
Kamil Trzcinski
b4668aa320 Output all properties and options 2022-07-08 12:12:30 +02:00
Kamil Trzcinski
bb4bbdc6ea Be flexible on setting camera params 2022-07-07 15:14:39 +02:00
Kamil Trzcinski
e9ffcc7c3b Fix defaults 2022-07-07 12:26:34 +02:00
Kamil Trzcinski
6b9d957641 Fix auto-focus option 2022-07-07 12:09:31 +02:00
Kamil Trzcinski
1f5262afd8 Add -camera-auto-focus option 2022-07-07 12:08:56 +02:00
Kamil Trzcinski
b16c686032 Force auto-focus on start 2022-07-07 11:37:45 +02:00
Kamil Trzcinski
286302ec19 Make default bitrate of h264 to be 10M 2022-07-07 11:36:51 +02:00
Kamil Trzcinski
4eaa42f1ea Add Af-Trigger 2022-07-05 12:05:17 +02:00