RED5语音视频延时-解决办法[转]

来源:互联网 发布:sdrsharp软件下载 编辑:程序博客网 时间:2024/05/27 14:13

http://blog.163.com/publicgs@126/blog/static/135003559201031293522404/

RED5语音视频延时-解决办法[转]  

2010-04-12 09:35:22|  分类: RTMP|举报|字号 订阅

下载LOFTER客户端


源:http://hi.baidu.com/hzpan/blog/item/0bd6a23549b97b315ab5f54f.html


进入服务器运行:

[root@localhost conf]# vi /usr/local/dimdim/red5/conf/red5.properties

更改属性参数:

# HTTP
http.host=0.0.0.0
http.port=5080
https.port=8443
# RTMP
rtmp.host=0.0.0.0
rtmp.port=1935
rtmp.event_threads_core=16
rtmp.event_threads_max=64
# event threads queue: -1 unbounded, 0 direct (no queue), n bounded queue
rtmp.event_threads_queue=0 
rtmp.event_threads_keepalive=60
rtmp.send_buffer_size=200
rtmp.receive_buffer_size=200
rtmp.ping_interval=5000
rtmp.max_inactivity=60000
rtmp.tcp_nodelay=true
# RTMPT
rtmpt.host=0.0.0.0
rtmpt.port=40001
rtmpt.ping_interval=5000
rtmpt.max_inactivity=60000
# MRTMP
mrtmp.host=0.0.0.0
mrtmp.port=9035
mrtmp.event_threads_core=4
mrtmp.event_threads_max=32
# event threads queue: -1 unbounded, 0 direct (no queue), n bounded queue
mrtmp.event_threads_queue=0
mrtmp.event_threads_keepalive=60
mrtmp.send_buffer_size=200
mrtmp.receive_buffer_size=200
mrtmp.ping_interval=5000
mrtmp.max_inactivity=60000
mrtmp.tcp_nodelay=true
# Debug proxy (needs to be activated in red5-core.xml)
proxy.source_host=127.0.0.1
proxy.source_port=1936
proxy.destination_host=127.0.0.1
proxy.destination_port=1935

保存重启服务
阅读(2033)| 评论(0)
推荐转载
 
[转]symfony 第一案例
 


0 0