030-default-config.patch (1530B)
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="/media", 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 @@ -184,6 +177,7 @@ configuration= 45 name="samplefactory", 46 description="asdsadasdsa", 47 protocol="dynamiclinklibrary", 48 + mediaFolder="/usr/share/ctmpserver/media", 49 aliases= 50 { 51 "httpOutboundTest"