Files
Juli bd05fca812 Add opentopia.com as a second camera provider
Listing pages (rated/newest) and per-camera pages are fetched over HTTPS
with the certificate bundle; the camera page's Live Feed mode yields the
camera's own MJPEG URL (Current Still as fallback), resolved just before
playing and cached in favourites. New Provider menu row: insecam /
opentopia / mixed. cam_info_t gains provider + title fields and the
settings blob a version byte; older favourites and settings still load.
2026-09-17 02:04:57 +02:00

10 lines
469 B
C

#pragma once
#include "insecam.h"
// opentopia.com: curated public webcams. The listing gives name and place; the
// direct live URL sits on the camera page and is resolved just before playing.
esp_err_t opentopia_fetch_page(insecam_listing_t listing, int page, cam_info_t *out, int max,
int *count, int *total_pages);
// Fills cam->url with the camera's own MJPEG (preferred) or still URL.
esp_err_t opentopia_resolve(cam_info_t *cam);