| 1 | import type { CctvCamera } from './types'; |
| 2 | |
| 3 | const SERBIA_CAMERAS: CctvCamera[] = [ |
| 4 | { |
| 5 | id: 'rs-belgrade-live', |
| 6 | lat: 44.817, lng: 20.456, |
| 7 | name: 'Belgrade Live Cam', city: 'Belgrade', country: 'Serbia', |
| 8 | feed_url: 'https://stream.uzivobeograd.rs/live/cam_7.jpg', |
| 9 | source: 'Uzivo Beograd', |
| 10 | }, |
| 11 | { |
| 12 | id: 'rs-kalotina-gradina-1', |
| 13 | lat: 42.997, lng: 22.882, |
| 14 | name: 'Kalotina – Gradina Border (lane 1)', city: 'Gradina', country: 'Serbia', |
| 15 | stream_url: 'https://kamere.amss.org.rs/gradina1/gradina1.m3u8', |
| 16 | stream_type: 'hls', |
| 17 | source: 'AMSS / GKPP', |
| 18 | }, |
| 19 | ]; |
| 20 | |
| 21 | export async function fetchSerbiaCameras(): Promise<CctvCamera[]> { |
| 22 | return SERBIA_CAMERAS.filter((cam) => cam.feed_url || cam.stream_url || cam.external_url); |
| 23 | } |