From 9106d2c7f47c8bc4d18e34816b3201c7c5743b46 Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Tue, 9 May 2023 11:23:38 +0200 Subject: [PATCH] status: fix snapshot url --- cmd/camera-streamer/status.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/camera-streamer/status.cc b/cmd/camera-streamer/status.cc index a38244e..36aecb9 100644 --- a/cmd/camera-streamer/status.cc +++ b/cmd/camera-streamer/status.cc @@ -133,7 +133,7 @@ extern "C" void camera_status_json(http_worker_t *worker, FILE *stream) message["endpoints"]["webrtc"] = get_url(video_lock.buf_list != NULL && webrtc_options.running, "video", "http", worker->host, http_options.port, "/webrtc"); message["endpoints"]["video"] = get_url(video_lock.buf_list != NULL, "video", "http", worker->host, http_options.port, "/video"); message["endpoints"]["stream"] = get_url(stream_lock.buf_list != NULL, "stream", "http", worker->host, http_options.port, "/stream"); - message["endpoints"]["snapshot"] = get_url(snapshot_lock.buf_list != NULL, "snapshot", "http", worker->host, http_options.port, "/stream"); + message["endpoints"]["snapshot"] = get_url(snapshot_lock.buf_list != NULL, "snapshot", "http", worker->host, http_options.port, "/snapshot"); if (rtsp_options.running) { message["endpoints"]["rtsp"]["clients"] = rtsp_options.clients;