1 --- a/builders/cmake/crtmpserver/crtmpserver.lua
2 +++ b/builders/cmake/crtmpserver/crtmpserver.lua
3 @@ -4,7 +4,7 @@ configuration=
5 -- if true, the server will run as a daemon.
6 -- NOTE: all console appenders will be ignored if this is a daemon
9 -- the OS's path separator. Used in composing paths
12 @@ -44,7 +44,7 @@ configuration=
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",
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
30 @@ -89,13 +89,6 @@ configuration=
35 - protocol="inboundRtmps",
36 - sslKey="server.key",
37 - sslCert="server.crt"
42 protocol="inboundRtmpt"
44 @@ -105,7 +98,7 @@ configuration=
45 description="FLV Playback Sample",
47 protocol="dynamiclinklibrary",
48 - mediaFolder="/Volumes/android/backup/media/",
49 + mediaFolder="/media/",
53 @@ -183,6 +176,7 @@ configuration=
55 description="asdsadasdsa",
56 protocol="dynamiclinklibrary",
57 + mediaFolder="/usr/share/ctmpserver/media",