1.先安装JDK,red5运行需要运行在java环境里,(java环境配置自行百度)
2.1下载red5链接,选择适合的版本
https://github.com/Red5/red5-server/releases![](https://i-blog.csdnimg.cn/blog_migrate/c1fc41515fb9fe06d3822ad6e9da1c6e.png)
我(第一次下载的是1.2.3最新版本的)第二次下载的是上图的版本,建议用一个比较稳定的版本,解压到你找的到文件夹里,然后修改Red5相关参数
2.2修改red5.properties配置文件..\conf\red5.properties
只需要配置HTTP 和RMTP节点的host和port即可 默认也行host配置成0.0.0.0 输入局域网IP或者127.0.0.1都可以正常访问
# Socket policy
policy.host=0.0.0.0
policy.port=843
# HTTP
http.host=192.168.xxx.xxx
http.port=5080
https.port=5443
http.URIEncoding=UTF-8
http.max_headers_size=8192
http.max_keep_alive_requests=-1
http.max_threads=20
http.acceptor_thread_