Index: crtmpserver-r726/builders/cmake/crtmpserver/crtmpserver.lua
===================================================================
--- crtmpserver-r726.orig/builders/cmake/crtmpserver/crtmpserver.lua
+++ crtmpserver-r726/builders/cmake/crtmpserver/crtmpserver.lua
@@ -44,7 +44,7 @@ configuration=
 	{
 		-- this is the root directory of all applications
 		-- usually this is relative to the binary execuable
-		rootDirectory="applications",
+		rootDirectory="/usr/lib/crtmpserver",
 		
 		
 		--this is where the applications array starts
@@ -68,7 +68,7 @@ configuration=
 			-- this is the folder from where the current application gets it's content.
 			-- It is optional. If not specified, it will be defaulted to:
 			-- <rootDirectory>/<name>/mediaFolder
-			-- mediaFolder="/some/directory/where/media/files/are/stored"
+			mediaFolder="/usr/share/crtmpserver/appselector",
 			-- the application will also be known by that names. It is optional
 			--aliases=
 			--{
@@ -89,13 +89,6 @@ configuration=
 				},
 				{
 					ip="0.0.0.0",
-					port=8081,
-					protocol="inboundRtmps",
-					sslKey="server.key",
-					sslCert="server.crt"
-				},
-				{
-					ip="0.0.0.0",
 					port=8080,
 					protocol="inboundRtmpt"
                 },
@@ -105,7 +98,7 @@ configuration=
 			description="FLV Playback Sample",
 			name="flvplayback",
 			protocol="dynamiclinklibrary",
-			mediaFolder="/Volumes/android/backup/media/",
+			mediaFolder="/media/",
 			aliases=
 			{
 				"simpleLive",
@@ -183,6 +176,7 @@ configuration=
 			name="samplefactory",
 			description="asdsadasdsa",
 			protocol="dynamiclinklibrary",
+			mediaFolder="/usr/share/ctmpserver/media",
 			aliases=
 			{
 				"httpOutboundTest"