status: fix snapshot url
This commit is contained in:
parent
54f538e7fe
commit
9106d2c7f4
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user