Advertisement
Guest User

Untitled

a guest
Jun 13th, 2014
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1.  
  2. #user nobody;
  3. worker_processes 1;
  4. error_log logs/error.log debug;
  5. events {
  6. worker_connections 1024;
  7. }
  8. http {
  9. include mime.types;
  10. default_type application/octet-stream;
  11. sendfile on;
  12. keepalive_timeout 65;
  13. server {
  14. listen 8080;
  15. server_name localhost;
  16. # rtmp stat
  17. location /stat {
  18. rtmp_stat all;
  19. rtmp_stat_stylesheet stat.xsl;
  20. }
  21. location /stat.xsl {
  22. # you can move stat.xsl to a different location
  23. root C:/Users\Daniel/Desktop/VisionBase/VisionBase/win-nginx/html;
  24. }
  25. # rtmp control
  26. location /control {
  27. rtmp_control all;
  28. }
  29. error_page 500 502 503 504 /50x.html;
  30. location = /50x.html {
  31. root html;
  32. }
  33. }
  34. }
  35.  
  36. rtmp {
  37. server {
  38. access_log C:/Users/Daniel/Desktop/VisionBase/VisionBase/win-nginx/conf/rtmp-access-streaming.log;
  39.  
  40. listen 1935;
  41. #wait_key on;
  42. wait_video on;
  43. chunk_size 4096;
  44.  
  45. application flvplayback {
  46. live on;
  47. allow publish all;
  48. #deny publish all;
  49. allow play all;
  50. record off;
  51. }
  52. application live {
  53. live on;
  54. allow publish all;
  55. #deny publish all;
  56. allow play all;
  57. record off;
  58. }
  59. # video on demand for flv files
  60. application vod {
  61. play C:/Users/Daniel/Desktop/VisionBase/VisionBase/cppRTMP/builders/VS2010/Debug/applications/flvplayback/mediaFolder;
  62. }
  63. }
  64. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement