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