Advertisement
Guest User

Red5 configuration

a guest
Oct 3rd, 2014
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.46 KB | None | 0 0
  1. # Socket policy
  2. policy.host=0.0.0.0
  3. policy.port=843
  4.  
  5. # HTTP
  6. http.host=0.0.0.0
  7. http.port=5080
  8. https.port=5443
  9. http.URIEncoding=UTF-8
  10. http.max_keep_alive_requests=-1
  11. http.max_threads=20
  12. http.acceptor_thread_count=10
  13. http.processor_cache=20
  14.  
  15. # RTMP
  16. rtmp.host=0.0.0.0
  17. rtmp.port=1935
  18. rtmp.io_threads=16
  19. rtmp.send_buffer_size=65536
  20. rtmp.receive_buffer_size=65536
  21. rtmp.ping_interval=1000
  22. rtmp.max_inactivity=60000
  23. rtmp.max_handshake_time=5000
  24. rtmp.tcp_nodelay=true
  25. rtmp.tcp_keepalive=false
  26. rtmp.default_server_bandwidth=10000000
  27. rtmp.default_client_bandwidth=10000000
  28. rtmp.client_bandwidth_limit_type=2
  29. rtmp.bandwidth_detection=false
  30. rtmp.encoder_base_tolerance=5000
  31. rtmp.encoder_drop_live_future=false
  32. # traffic optimization hinting. to disable set traffic class set to -1
  33. # low delay + high throughput == 24 (0x18)
  34. rtmp.traffic_class=-1
  35. # requested maximum length of the queue of incoming connections
  36. rtmp.backlog=32
  37. # the interval (seconds) between each throughput calculation
  38. rtmp.thoughput_calc_interval=15
  39. # enable use of the default mina acceptor
  40. rtmp.default_acceptor=true
  41. # socket i/o pool sizes used when default acceptor is disabled
  42. rtmp.initial_pool_size=0
  43. rtmp.max_pool_size=2
  44. rtmp.max_processor_pool_size=16
  45. rtmp.executor_keepalive_time=60000
  46. mina.logfilter.enable=false
  47. # scheduler configs (per connection)
  48. rtmp.scheduler.pool_size=2
  49. # adjust this as needed if you get tasks rejected
  50. rtmp.executor.queue_capacity=512
  51. # maximum amount of time allotted to process a single rtmp message / packet in milliseconds
  52. rtmp.max_handling_time=1500
  53.  
  54. # RTMPS
  55. rtmps.host=0.0.0.0
  56. rtmps.port=8443
  57. rtmps.ping_interval=5000
  58. rtmps.max_inactivity=60000
  59. rtmps.max_keep_alive_requests=-1
  60. rtmps.max_threads=20
  61. rtmps.acceptor_thread_count=2
  62. rtmps.processor_cache=20
  63. # RTMPS Key and Trust store parameters
  64. rtmps.keystorepass=password
  65. rtmps.keystorefile=conf/keystore.jks
  66. rtmps.truststorepass=password
  67. rtmps.truststorefile=conf/truststore.jks
  68.  
  69. # RTMPT
  70. rtmpt.host=0.0.0.0
  71. rtmpt.port=8088
  72. rtmpt.ping_interval=5000
  73. rtmpt.max_inactivity=60000
  74. rtmpt.max_handshake_time=5000
  75. rtmpt.max_keep_alive_requests=-1
  76. rtmpt.max_threads=20
  77. rtmpt.acceptor_thread_count=2
  78. rtmpt.processor_cache=20
  79. rtmpt.encoder_base_tolerance=5000
  80. rtmpt.encoder_drop_live_future=true
  81. # better setting for streaming media
  82. rtmpt.target_reponse_size=32768
  83. # best setting for small messages or shared objects
  84. #rtmpt.target_reponse_size=8192
  85. # max incoming messages to process at a time. the most that FP appears to send is 166
  86. rtmpt.max_in_msg_process=166
  87. # max time in millis that we will wait when offering data to the in or out queue
  88. rtmpt.max_queue_offer_time=125
  89. # max offer attempts
  90. rtmpt.max_queue_offer_attempts=4
  91.  
  92. # Debug proxy (needs to be activated in red5-core.xml)
  93. proxy.source_host=127.0.0.1
  94. proxy.source_port=1936
  95. proxy.destination_host=127.0.0.1
  96. proxy.destination_port=1935
  97.  
  98. # JMX
  99. jmx.rmi.host=localhost
  100. jmx.rmi.port=9999
  101. jmx.rmi.sport=9998
  102. jmx.rmi.port.remoteobjects=
  103. jmx.keystorepass=password
  104. jmx.mina.monitor.enable=false
  105. jmx.mina.poll.interval=1000
  106. jmx.registry.create=true
  107. jmx.reuse.existing.server=true
  108.  
  109. # Server properties
  110. # max events to send in a single update
  111. so.max.events.per.update=64
  112. so.scheduler.pool_size=4
  113. keyframe.cache.entry.max=500
  114. war.deploy.server.check.interval=600000
  115. fileconsumer.delayed.write=true
  116. fileconsumer.queue.size=1500
  117. subscriberstream.buffer.check.interval=5000
  118. subscriberstream.underrun.trigger=100
  119. broadcaststream.auto.record=false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement