You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.5 KiB

  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. @@ -44,7 +44,7 @@ configuration=
  12. {
  13. -- this is the root directory of all applications
  14. -- usually this is relative to the binary execuable
  15. - rootDirectory="applications",
  16. + rootDirectory="/usr/lib/crtmpserver",
  17. --this is where the applications array starts
  18. @@ -68,7 +68,7 @@ configuration=
  19. -- this is the folder from where the current application gets it's content.
  20. -- It is optional. If not specified, it will be defaulted to:
  21. -- <rootDirectory>/<name>/mediaFolder
  22. - -- mediaFolder="/some/directory/where/media/files/are/stored"
  23. + mediaFolder="/media",
  24. -- the application will also be known by that names. It is optional
  25. --aliases=
  26. --{
  27. @@ -89,13 +89,6 @@ configuration=
  28. },
  29. {
  30. ip="0.0.0.0",
  31. - port=8081,
  32. - protocol="inboundRtmps",
  33. - sslKey="server.key",
  34. - sslCert="server.crt"
  35. - },
  36. - {
  37. - ip="0.0.0.0",
  38. port=8080,
  39. protocol="inboundRtmpt"
  40. },
  41. @@ -184,6 +177,7 @@ configuration=
  42. name="samplefactory",
  43. description="asdsadasdsa",
  44. protocol="dynamiclinklibrary",
  45. + mediaFolder="/usr/share/ctmpserver/media",
  46. aliases=
  47. {
  48. "httpOutboundTest"