{"cors":{"allow_headers":"Content-Type, Range","allow_methods":"GET, OPTIONS, HEAD","allow_origin":"*","enabled":true,"note":"CORS headers are automatically added to all responses. Configure via environment variables: CORS_ALLOW_ORIGIN, CORS_ALLOW_METHODS, CORS_ALLOW_HEADERS"},"endpoints":{"/health":{"description":"Health check","method":"GET"},"/playlist":{"description":"Generate M3U8 playlist up to a timestamp","example":"/playlist?path_name=SP-JGR-52&timestamp=2025-11-09T19%3A06%3A48.760456Z","example_http":"/playlist?path_name=SP-JGR-52&timestamp=2025-11-09T19%3A06%3A48.760456Z&use_http=true","method":"GET","parameters":{"hours_back":"Optional hours back from timestamp (float)","http_base_url":"Optional base URL for HTTP file serving (default: auto-detected)","path_name":"MediaMTX path name (required)","timestamp":"URL-encoded timestamp in RFC3339 format (required)","use_http":"Optional flag to use HTTP URLs instead of file:// URLs (default: false)"}},"/playlist/range":{"description":"Generate M3U8 playlist for a custom time range","example":"/playlist/range?path_name=SP-JGR-52&start_timestamp=2025-11-09T17%3A00%3A00Z&end_timestamp=2025-11-09T19%3A06%3A48Z","example_http":"/playlist/range?path_name=SP-JGR-52&start_timestamp=2025-11-09T17%3A00%3A00Z&end_timestamp=2025-11-09T19%3A06%3A48Z&use_http=true","method":"GET","parameters":{"end_timestamp":"URL-encoded end timestamp in RFC3339 format (required)","http_base_url":"Optional base URL for HTTP file serving (default: auto-detected)","path_name":"MediaMTX path name (required)","start_timestamp":"URL-encoded start timestamp in RFC3339 format (required)","use_http":"Optional flag to use HTTP URLs instead of file:// URLs (default: false)"}},"/video/<path_name>/<filename>":{"description":"Serve video files via HTTP","example":"/video/SP-JGR-52/2025-11-09_19-06-48-760456.ts","method":"GET","parameters":{"filename":"Video filename (e.g., 2025-11-09_19-06-48-760456.ts)","path_name":"MediaMTX path name (e.g., SP-JGR-52)"}}},"service":"MediaMTX Playback Server","version":"1.1"}
