Advertisement
Guest User

red5.properties

a guest
Feb 16th, 2016
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.87 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=80
  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=128
  19. rtmp.send_buffer_size=131072
  20. rtmp.receive_buffer_size=131072
  21. rtmp.ping_interval=2000
  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=1000000000
  27. rtmp.default_client_bandwidth=1000000000
  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=24
  35. # requested maximum length of the queue of incoming connections
  36. rtmp.backlog=256
  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 application)
  48. rtmp.scheduler.pool_size=16
  49. # message executor configs (per application)
  50. # adjust this as needed if you get tasks rejected
  51. rtmp.executor.core_pool_size=4
  52. rtmp.executor.max_pool_size=32
  53. rtmp.executor.queue_capacity=256
  54. # drop audio packets when queue is almost full, to disable this, set to 0
  55. rtmp.executor.queue_size_to_drop_audio_packets=0
  56. # deadlock guard configs
  57. rtmp.deadlockguard.sheduler.pool_size=32
  58. # maximum amount of time allotted to process a single rtmp message / packet in milliseconds, set it as 0 to disable timeout (default 1000)
  59. rtmp.deadlockguard.max_handling_time=4000
  60.  
  61. # RTMPS
  62. rtmps.host=0.0.0.0
  63. rtmps.port=8443
  64. rtmps.ping_interval=5000
  65. rtmps.max_inactivity=60000
  66. rtmps.max_keep_alive_requests=-1
  67. rtmps.max_threads=20
  68. rtmps.acceptor_thread_count=2
  69. rtmps.processor_cache=20
  70. # RTMPS Key and Trust store parameters
  71. rtmps.keystorepass=password
  72. rtmps.keystorefile=conf/keystore.jks
  73. rtmps.truststorepass=password
  74. rtmps.truststorefile=conf/truststore.jks
  75.  
  76. # RTMPT
  77. rtmpt.host=0.0.0.0
  78. rtmpt.port=8088
  79. rtmpt.ping_interval=5000
  80. rtmpt.max_inactivity=60000
  81. rtmpt.max_handshake_time=5000
  82. rtmpt.max_keep_alive_requests=-1
  83. rtmpt.max_threads=20
  84. rtmpt.acceptor_thread_count=2
  85. rtmpt.processor_cache=20
  86. rtmpt.encoder_base_tolerance=5000
  87. rtmpt.encoder_drop_live_future=true
  88. # better setting for streaming media
  89. rtmpt.target_reponse_size=32768
  90. # best setting for small messages or shared objects
  91. #rtmpt.target_reponse_size=8192
  92. # max incoming messages to process at a time. the most that FP appears to send is 166
  93. rtmpt.max_in_msg_process=166
  94. # max time in millis that we will wait when offering data to the in or out queue
  95. rtmpt.max_queue_offer_time=125
  96. # max offer attempts
  97. rtmpt.max_queue_offer_attempts=4
  98.  
  99. # WebSocket
  100. ws.host=0.0.0.0
  101. ws.port=8081
  102.  
  103. # Debug proxy (needs to be activated in red5-core.xml)
  104. proxy.source_host=127.0.0.1
  105. proxy.source_port=1936
  106. proxy.destination_host=127.0.0.1
  107. proxy.destination_port=1935
  108.  
  109. # JMX
  110. jmx.rmi.host=localhost
  111. jmx.rmi.port=9999
  112. jmx.rmi.sport=9998
  113. jmx.rmi.port.remoteobjects=
  114. jmx.keystorepass=password
  115. jmx.mina.monitor.enable=false
  116. jmx.mina.poll.interval=1000
  117. jmx.registry.create=true
  118. jmx.reuse.existing.server=true
  119.  
  120. # Server properties
  121. # max events to send in a single update
  122. so.max.events.per.update=64
  123. so.scheduler.pool_size=4
  124. keyframe.cache.entry.max=500
  125. war.deploy.server.check.interval=600000
  126. fileconsumer.delayed.write=true
  127. fileconsumer.queue.size=120
  128. subscriberstream.buffer.check.interval=5000
  129. subscriberstream.underrun.trigger=100
  130. broadcaststream.auto.record=false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement