packages/multimedia/crtmpserver/patches/030-default-config.patch
florian 977de77cc1 crtmpsever: add missing unistd.h inclusion for sysconf()
We were failing the build w/ GCC 4.8 on the sysconf() prototype due to a
missing include of unistd.h

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@39922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-13 16:52:13 +00:00

52 lines
1.5 KiB
Diff

--- a/builders/cmake/crtmpserver/crtmpserver.lua
+++ b/builders/cmake/crtmpserver/crtmpserver.lua
@@ -44,7 +44,7 @@ configuration=
{
-- this is the root directory of all applications
-- usually this is relative to the binary execuable
- rootDirectory="applications",
+ rootDirectory="/usr/lib/crtmpserver",
--this is where the applications array starts
@@ -68,7 +68,7 @@ configuration=
-- this is the folder from where the current application gets it's content.
-- It is optional. If not specified, it will be defaulted to:
-- <rootDirectory>/<name>/mediaFolder
- -- mediaFolder="/some/directory/where/media/files/are/stored"
+ mediaFolder="/usr/share/crtmpserver/appselector",
-- the application will also be known by that names. It is optional
--aliases=
--{
@@ -89,13 +89,6 @@ configuration=
},
{
ip="0.0.0.0",
- port=8081,
- protocol="inboundRtmps",
- sslKey="server.key",
- sslCert="server.crt"
- },
- {
- ip="0.0.0.0",
port=8080,
protocol="inboundRtmpt"
},
@@ -105,7 +98,7 @@ configuration=
description="FLV Playback Sample",
name="flvplayback",
protocol="dynamiclinklibrary",
- mediaFolder="/Volumes/android/backup/media/",
+ mediaFolder="/media/",
aliases=
{
"simpleLive",
@@ -183,6 +176,7 @@ configuration=
name="samplefactory",
description="asdsadasdsa",
protocol="dynamiclinklibrary",
+ mediaFolder="/usr/share/ctmpserver/media",
aliases=
{
"httpOutboundTest"