Elffuss BraidHub

kikocis/osiris public

master · 1.1 KiBRawPermalink
1import type { CctvCamera } from './types';
2
3const SPAIN_CAMERAS: CctvCamera[] = [
4 {
5 id: 'es-barcelona-2',
6 lat: 41.3800, lng: 2.1800,
7 name: 'Barcelona - Beach Area', city: 'Barcelona', country: 'Spain',
8 stream_url: 'https://www.youtube.com/embed/4DjwrvoTKwk?autoplay=1&mute=1&controls=0&modestbranding=1&rel=0',
9 stream_type: 'iframe',
10 source: 'YouTube Live',
11 },
12 {
13 id: 'es-madrid-1',
14 lat: 40.4168, lng: -3.7038,
15 name: 'Madrid - Puerta del Sol', city: 'Madrid', country: 'Spain',
16 stream_url: 'https://www.youtube.com/embed/4CaHlfpGlAI?autoplay=1&mute=1&controls=0&modestbranding=1&rel=0',
17 stream_type: 'iframe',
18 source: 'YouTube Live',
19 },
20 {
21 id: 'es-madrid-2',
22 lat: 40.4200, lng: -3.7000,
23 name: 'Madrid - Gran Via', city: 'Madrid', country: 'Spain',
24 stream_url: 'https://www.youtube.com/embed/LSPN10FbR3U?autoplay=1&mute=1&controls=0&modestbranding=1&rel=0',
25 stream_type: 'iframe',
26 source: 'YouTube Live',
27 }
28];
29
30export async function fetchSpainCameras(): Promise<CctvCamera[]> {
31 return SPAIN_CAMERAS;
32}