diff options
author | TheTroll <trolldev@gmail.com> | 2010-04-02 18:38:50 +0200 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-04-02 18:38:50 +0200 |
commit | 31f59e914e3c2ce50221bfb124356f635a7446f7 (patch) | |
tree | bd42054d12a5da7c699de10227189937a2e28755 /bin/session.php | |
parent | 171598d1b8f47667062168ece78b73d05a5faeb3 (diff) | |
download | istreamdev-31f59e914e3c2ce50221bfb124356f635a7446f7.tar.gz istreamdev-31f59e914e3c2ce50221bfb124356f635a7446f7.tar.bz2 |
Fixed istream.sh launch on some systems
Diffstat (limited to 'bin/session.php')
-rw-r--r-- | bin/session.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/session.php b/bin/session.php index e854058..6a104dc 100644 --- a/bin/session.php +++ b/bin/session.php @@ -82,13 +82,13 @@ function sessioncreate($type, $url, $mode) switch ($type) { case 'tv': - $cmd = "./istream.sh \"" .$url ."\" " .$qparams ." " .$httppath ." 2 " .$ffmpegpath ." " .$segmenterpath ." " .$session ." \"" .$ffdbg ."\" \"\" >/dev/null &"; + $cmd = "./istream.sh \"" .$url ."\" " .$qparams ." " .$httppath ." 2 " .$ffmpegpath ." " .$segmenterpath ." " .$session ." \"" .$ffdbg ."\" \"\" >/dev/null 2>&1 &"; break; case 'rec': - $cmd = "./istream.sh - " .$qparams ." " .$httppath ." 1260 " .$ffmpegpath ." " .$segmenterpath ." " .$session ." \"" .$ffdbg ."\" \"" .$url ."/0* \" >/dev/null &"; + $cmd = "./istream.sh - " .$qparams ." " .$httppath ." 1260 " .$ffmpegpath ." " .$segmenterpath ." " .$session ." \"" .$ffdbg ."\" \"" .$url ."/0* \" >/dev/null 2>&1 &"; break; case 'vid': - $cmd = "./istream.sh \"" .$url ."\" " .$qparams ." " .$httppath ." 1260 " .$ffmpegpath ." " .$segmenterpath ." " .$session ." \"" .$ffdbg ."\" \"\" >/dev/null &"; + $cmd = "./istream.sh \"" .$url ."\" " .$qparams ." " .$httppath ." 1260 " .$ffmpegpath ." " .$segmenterpath ." " .$session ." \"" .$ffdbg ."\" \"\" >/dev/null 2>&1 &"; break; default: $cmd = ""; |