summaryrefslogtreecommitdiff
path: root/config_default.php
diff options
context:
space:
mode:
authorwww-data <www-data@dabox.fr>2010-02-18 23:44:44 +0100
committerwww-data <www-data@dabox.fr>2010-02-18 23:44:44 +0100
commit429c74537c02a1f7d4032d6478f184f4ca362d3b (patch)
tree06f1029c518f709531d9748f3c3e30e48804bb7f /config_default.php
parent09330fc053cbd6722a3b353c6cee99d6c7cda903 (diff)
downloadistreamdev-429c74537c02a1f7d4032d6478f184f4ca362d3b.tar.gz
istreamdev-429c74537c02a1f7d4032d6478f184f4ca362d3b.tar.bz2
Personal config is now stored in config.php
If config.php is not created, config_default.php will be used
Diffstat (limited to 'config_default.php')
-rwxr-xr-xconfig_default.php35
1 files changed, 35 insertions, 0 deletions
diff --git a/config_default.php b/config_default.php
new file mode 100755
index 0000000..d479ba4
--- /dev/null
+++ b/config_default.php
@@ -0,0 +1,35 @@
+<?php
+ global $user, $pass, $vdrchannels, $vdrstreamdev, $quality, $httppath;
+ global $svdrpip, $svdrpport, $ffmpegpath, $videotypes, $audiotypes, $mediainfopath;
+
+ // Http configuration
+ $user = 'istreamdev'; // Login
+ $pass = 'iguest'; // Password
+ $httppath = '/istreamdev/'; // Path to the index.php file
+
+ // VDR configuration
+ $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";
+?>