crtmpserver: import from packages, add myself as the maintainer
[feed/packages.git] / multimedia / crtmpserver / patches / 030-default-config.patch
1 --- a/builders/cmake/crtmpserver/crtmpserver.lua
2 +++ b/builders/cmake/crtmpserver/crtmpserver.lua
3 @@ -4,7 +4,7 @@ configuration=
4 {
5 -- if true, the server will run as a daemon.
6 -- NOTE: all console appenders will be ignored if this is a daemon
7 - daemon=false,
8 + daemon=true,
9 -- the OS's path separator. Used in composing paths
10 pathSeparator="/",
11
12 @@ -44,7 +44,7 @@ configuration=
13 {
14 -- this is the root directory of all applications
15 -- usually this is relative to the binary execuable
16 - rootDirectory="applications",
17 + rootDirectory="/usr/lib/crtmpserver",
18
19
20 --this is where the applications array starts
21 @@ -68,7 +68,7 @@ configuration=
22 -- this is the folder from where the current application gets it's content.
23 -- It is optional. If not specified, it will be defaulted to:
24 -- <rootDirectory>/<name>/mediaFolder
25 - -- mediaFolder="/some/directory/where/media/files/are/stored"
26 + mediaFolder="/usr/share/crtmpserver/appselector",
27 -- the application will also be known by that names. It is optional
28 --aliases=
29 --{
30 @@ -89,13 +89,6 @@ configuration=
31 },
32 {
33 ip="0.0.0.0",
34 - port=8081,
35 - protocol="inboundRtmps",
36 - sslKey="server.key",
37 - sslCert="server.crt"
38 - },
39 - {
40 - ip="0.0.0.0",
41 port=8080,
42 protocol="inboundRtmpt"
43 },
44 @@ -105,7 +98,7 @@ configuration=
45 description="FLV Playback Sample",
46 name="flvplayback",
47 protocol="dynamiclinklibrary",
48 - mediaFolder="/Volumes/android/backup/media/",
49 + mediaFolder="/media/",
50 aliases=
51 {
52 "simpleLive",
53 @@ -183,6 +176,7 @@ configuration=
54 name="samplefactory",
55 description="asdsadasdsa",
56 protocol="dynamiclinklibrary",
57 + mediaFolder="/usr/share/ctmpserver/media",
58 aliases=
59 {
60 "httpOutboundTest"