| 1 | import type { CctvCamera } from './types'; |
| 2 | |
| 3 | const ITALY_CAMERAS: CctvCamera[] = [ |
| 4 | { |
| 5 | id: 'it-rome-1', |
| 6 | lat: 41.8902, lng: 12.4922, |
| 7 | name: 'Rome - Colosseum Area', city: 'Rome', country: 'Italy', |
| 8 | stream_url: 'https://www.youtube.com/embed/89d3tEaqImM?autoplay=1&mute=1&controls=0&modestbranding=1&rel=0', |
| 9 | stream_type: 'iframe', |
| 10 | source: 'YouTube Live', |
| 11 | }, |
| 12 | { |
| 13 | id: 'it-milan-1', |
| 14 | lat: 45.4642, lng: 9.1900, |
| 15 | name: 'Milan - Duomo Area', city: 'Milan', country: 'Italy', |
| 16 | stream_url: 'https://www.youtube.com/embed/dsoM6TYIkOI?autoplay=1&mute=1&controls=0&modestbranding=1&rel=0', |
| 17 | stream_type: 'iframe', |
| 18 | source: 'YouTube Live', |
| 19 | }, |
| 20 | |
| 21 | { |
| 22 | id: 'it-venice-1', |
| 23 | lat: 45.4343, lng: 12.3388, |
| 24 | name: 'Venice - Grand Canal', city: 'Venice', country: 'Italy', |
| 25 | stream_url: 'https://www.youtube.com/embed/mt7uE-n0YPI?autoplay=1&mute=1&controls=0&modestbranding=1&rel=0', |
| 26 | stream_type: 'iframe', |
| 27 | source: 'YouTube Live', |
| 28 | }, |
| 29 | { |
| 30 | id: 'it-naples-1', |
| 31 | lat: 40.8518, lng: 14.2681, |
| 32 | name: 'Naples - City View', city: 'Naples', country: 'Italy', |
| 33 | stream_url: 'https://www.youtube.com/embed/LO2Fvujwc8M?autoplay=1&mute=1', |
| 34 | stream_type: 'iframe', |
| 35 | source: 'YouTube Live', |
| 36 | } |
| 37 | ]; |
| 38 | |
| 39 | export async function fetchItalyCameras(): Promise<CctvCamera[]> { |
| 40 | return ITALY_CAMERAS; |
| 41 | } |