俺的地盘,神做主!

Dimdim语音视频延时-解决办法!

上一篇 / 下一篇  2009-05-11 13:45:31

问题:千辛万苦搭建好了Dimdim平台,跑起来视频延时4秒,语音延时2秒;

 

解决办法:进入Dimdim安装目录:/usr/local/Dimdim/red5/conf

进入服务器运行:

[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

 

保存重启服务,一切OK!


TAG:

 

评分:0

我来说两句

Open Toolbar