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. @@ -87,13 +87,6 @@ configuration=
  28. port=1935,
  29. protocol="inboundRtmp"
  30. },
  31. - {
  32. - ip="0.0.0.0",
  33. - port=8081,
  34. - protocol="inboundRtmps",
  35. - sslKey="server.key",
  36. - sslCert="server.crt"
  37. - },
  38. {
  39. ip="0.0.0.0",
  40. port=8080,
  41. @@ -206,6 +199,7 @@ configuration=
  42. name="samplefactory",
  43. description="asdsadasdsa",
  44. protocol="dynamiclinklibrary",
  45. + mediaFolder="/usr/share/ctmpserver/media",
  46. aliases=
  47. {
  48. "httpOutboundTest"