f0fdc1a74c5e60c34d9bb43b8a4ecee873e445e6
[packages.git] / multimedia / crtmpserver / patches / 030-default-config.patch
1 --- a/builders/cmake/rtmpserver/rtmpserver.lua
2 +++ b/builders/cmake/rtmpserver/rtmpserver.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         -- this is the async DNS resolver. This is a "clinet" connection
12 @@ -58,7 +58,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/rtmpserver",
18                 
19                 
20                 --this is where the applications array starts
21 @@ -82,7 +82,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/rtmpserver/appselector",
27                         -- the application will also be known by that names. It is optional
28                         --aliases=
29                         --{
30 @@ -119,6 +119,7 @@ configuration=
31                         description="FLV Playback Sample",
32                         name="flvplayback",
33                         protocol="dynamiclinklibrary",
34 +                       mediaFolder="/usr/share/rtmpserver/media",
35                         aliases=
36                         {
37                                 "simpleLive",