summaryrefslogtreecommitdiff
path: root/config_default.php
blob: 6cb5f43dd9003d44c8a32159fe5775bf011bff8d (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
<?php
	global $user, $pass, $httppath;
	global $vdrenabled, $vdrchannels, $svdrpport, $svdrpip, $vdrstreamdev, $vdrrecpath;
	global $mediainfopath, $mediapath, $videotypes, $audiotypes;
	global $quality, $ffmpegpath;
	global $isdversion;

	// Http configuration
	$user = 'istreamdev';		// Login
	$pass = 'iguest';		// Password
	$httppath = '/istreamdev/';	// Path to the index.php file

	// VDR configuration
	$vdrenabled=1;
	$vdrchannels='/etc/vdr/channels.conf';	// VDR channel list
	$svdrpport=2001;					// SVDRP port
	$svdrpip='127.0.0.1';					// SVDRP ip
	$vdrstreamdev='http://127.0.0.1:3000/TS/';		// VDR streamdev URL
	$vdrrecpath='/video/';

	// Media configuration
	$mediainfopath='/usr/bin/mediainfo';
	$mediapath='/mnt/Storage/';
	$videotypes='avi mkv ts mov mp4 wmv flv mpg mpeg mpeg2 mpv';
	$audiotypes='mp3 wav aac flac';

	// Encoding
	//			Name		Video	Audio	Audio channels	Resolution
	$quality = array(	'Edge'	=>	'128k	64k	1		240x160',
				'3g'	=>	'350k	64k	1		408x272',
				'Wifi'	=>	'512k	128k	2		480x320'
			);

	// Misc
	$ffmpegpath = '/usr/bin/ffmpeg';

	// Version
	$isdversion = "0.3.6-alpha";
?>