packages/multimedia/crtmpserver/patches/030-default-config.patch
jow 099c9d1440 [packages] crtmpserver: update to r726
- Relocate libraries and shared files to /usr/lib/crtmpserver and /usr/share/crtmpserver
 - Add missing defines from CMake to make
 - Set new CCOMPILER and CXXCOMPILER variables as well


git-svn-id: svn://svn.openwrt.org/openwrt/packages@29785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 01:08:19 +00:00

54 lines
1.7 KiB
Diff

Index: crtmpserver-r726/builders/cmake/crtmpserver/crtmpserver.lua
===================================================================
--- crtmpserver-r726.orig/builders/cmake/crtmpserver/crtmpserver.lua
+++ crtmpserver-r726/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"