| 1 | import type { CctvCamera } from './types'; |
| 2 | |
| 3 | const FRANCE_CAMERAS: CctvCamera[] = [ |
| 4 | { |
| 5 | id: 'fr-paris-1', |
| 6 | lat: 48.8584, lng: 2.2945, |
| 7 | name: 'Paris - Eiffel Tower Area', city: 'Paris', country: 'France', |
| 8 | stream_url: 'https://www.youtube.com/embed/UMuEooW0iAQ?autoplay=1&mute=1&controls=0&modestbranding=1&rel=0', |
| 9 | stream_type: 'iframe', |
| 10 | source: 'YouTube Live', |
| 11 | }, |
| 12 | { |
| 13 | id: 'fr-paris-2', |
| 14 | lat: 48.8600, lng: 2.3300, |
| 15 | name: 'Paris - Louvre Area', city: 'Paris', country: 'France', |
| 16 | stream_url: 'https://www.youtube.com/embed/OzYp4NRZlwQ?autoplay=1&mute=1&controls=0&modestbranding=1&rel=0', |
| 17 | stream_type: 'iframe', |
| 18 | source: 'YouTube Live', |
| 19 | }, |
| 20 | { |
| 21 | id: 'fr-nice-1', |
| 22 | lat: 43.6961, lng: 7.2717, |
| 23 | name: 'Nice - Promenade des Anglais', city: 'Nice', country: 'France', |
| 24 | stream_url: 'https://www.youtube.com/embed/YAdNYoRY0Cw?autoplay=1&mute=1&controls=0&modestbranding=1&rel=0', |
| 25 | stream_type: 'iframe', |
| 26 | source: 'YouTube Live', |
| 27 | }, |
| 28 | { |
| 29 | id: 'fr-nice-2', |
| 30 | lat: 43.7000, lng: 7.2600, |
| 31 | name: 'Nice - City View', city: 'Nice', country: 'France', |
| 32 | stream_url: 'https://www.youtube.com/embed/asO_10T0k2k?autoplay=1&mute=1&controls=0&modestbranding=1&rel=0', |
| 33 | stream_type: 'iframe', |
| 34 | source: 'YouTube Live', |
| 35 | } |
| 36 | ]; |
| 37 | |
| 38 | export async function fetchFranceCameras(): Promise<CctvCamera[]> { |
| 39 | return FRANCE_CAMERAS; |
| 40 | } |