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.

60 lines
1.8 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="/usr/share/crtmpserver/appselector",
  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. @@ -105,7 +98,7 @@ configuration=
  42. description="FLV Playback Sample",
  43. name="flvplayback",
  44. protocol="dynamiclinklibrary",
  45. - mediaFolder="/Volumes/android/backup/media/",
  46. + mediaFolder="/media/",
  47. aliases=
  48. {
  49. "simpleLive",
  50. @@ -183,6 +176,7 @@ configuration=
  51. name="samplefactory",
  52. description="asdsadasdsa",
  53. protocol="dynamiclinklibrary",
  54. + mediaFolder="/usr/share/ctmpserver/media",
  55. aliases=
  56. {
  57. "httpOutboundTest"