aboutsummaryrefslogtreecommitdiffstats
path: root/web/streamlib/stream/config.pm
blob: 19a1e4d7c826d47ebbc744683fc15d7370417e80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
package stream::config; 
use strict;
use warnings;
use NetAddr::IP;

our $v4net = NetAddr::IP->new("151.216.128.0/17");
our $v6net = NetAddr::IP->new("2a02:ed02::/32");
our $multicast = "udp://\@233.191.12.1";
our $vlc_base_host = "http://cubemap.tg14.gathering.org";
our $tg = 14;
our $tg_full = 2014;


# priority = sorting order in streaming list
# port , "post port number"
# has_external , shows on OVH/.fr reflector if set
# external , replaces static url link 
# source , video source pew pew
# title , title doh \:D/
our %streams =  (
		'event-hd' => {
			'type' => 'event',
			'quality' => 'hd',
			'priority' => 20,
			'port' => 80,
			'url' => '/event.ts',
			'interlaced' => 0,
			'has_multicast' => 0,
			'multicast_ip' => 'udp://@[ff7e:a40:2a02:ed02:ffff::15]:2015',
			'source' => 'Event',
			'title' => 'Event HD (720p50)'
		},
#		'creativia-hd' => {
#			'type' => 'event',
#			'quality' => 'hd',
#			'priority' => 150,
#			'port' => 5004,
#			'url' => '/creativia-lounge.ts',
#			'interlaced' => 0,
#			'has_multicast' => 0,
#			'multicast_ip' => 'udp://@[ff7e:a40:2a02:ed02:ffff::15]:2015',
#			'source' => 'Tech',
#			'title' => 'Creativia Lounge HD (720p50)'
#		},
		'event-sd' => {
			'type' => 'event',
			'quality' => 'sd',
			'priority' => 24,
			'port' => 80,
			'url' => '/event-sd.ts',
			'interlaced' => 0,
			'has_multicast' => 0,
			'multicast_ip' => 'udp://@[ff7e:a40:2a02:ed02:ffff::14]',
			'source' => 'Event',
			'title' => 'Event SD (576p) (2mbps)'
		},
		'event-superlow' => {
			'type' => 'event',
			'quality' => 'sd',
			'priority' => 25,
			'port' => 80,
			'url' => '/event-superlow.ts',
			'interlaced' => 0,
			'has_multicast' => 0,
			'multicast_ip' => 'udp://@[ff7e:a40:2a02:ed02:ffff::16]',
			'source' => 'Event',
			'title' => 'Event Superlow SD (360p) (500kbit)'
		},
#		'event-flash' => {
#			'type' => 'event',
#			'quality' => 'sd',
#			'priority' => 25,
#			'interlaced' => 0,
#			'external' => 1,
#			'url' => 'http://www.gathering.org/tg13/no/live-tv/',
#			'source' => 'Event',
#			'title' => 'Event SD (gathering.org flash player)',
#		},
#


		'south-raw' => { 
			'type' => 'camera',
			'quality' => 'hd',
			'priority' => 40,
			'url' => "/southcam.ts",
                        'port' => 80,
			'interlaced' => 0,
			'has_multicast' => 0,
#			'multicast_ip' => "udp://@[ff7e:a40:2a02:ed02:ffff::16]",
			'source' => 'Tech',
			'title' => 'Webcam South (HD) (1920x1080 H.264) 10mbps',
		},

		'roofcam-raw' => { 
			'type' => 'camera',
			'quality' => 'hd',
			'priority' => 118,
			'url' => "/roofcam.ts",
			'port' => 80,
			'interlaced' => 1,
			'has_multicast' => 0,
			#'multicast_ip' => "udp://\@[ff7e:a40:2a02:ed02:ffff::15]",
			'source' => 'Tech',
			'title' => 'Webcam Roof (HD) (1536x1536 H.264) 8mbps',
		},

		'noccam-raw' => {
			'type' => 'camera',
			'quality' => 'hd',
			'priority' => 130,
                        'url' => '/noccam.ts',
			'port' => 80,
			'has_multicast' => 0,
			'interlaced' => 0,
			'multicast_ip' => "udp://@[ff7e:a40:2a02:ed02:ffff::18]:2018",
			'source' => "Tech",
			'title' => "Webcam NOC (HD) (1280x720 H.264) 5mbps"
		},

			);


1;