开源软件名称:red5_hls
开源软件地址:https://gitee.com/endlesshh/red5_hls
开源软件介绍:
red5_hls- red5_hls是对red5的1.1.1版本进行springboot整合,整合后直接使用springboot进行启动和管理。打jar包运行。目前通过实时推流测试。该项目主要是用来方便学习red5的源码。同时新增了http,rtsp,udp,hls等协议的支持。
- 项目带有推送demo。
- 在red5项目原有的基础上可以进行hls协议的离线和在线视频推流观看
启动- 首先运行SpringBootRed5Application启动red5服务器
- 使用VLC Mider player或其他软件播放
- 例如 (测试通过)
3.1 直播流 rtmp://localhost:1935/oflaDemo/sssssss,播放推送流 - (rtmp) rtmp://localhost:1935/oflaDemo/sssssss.flv - (rtmp) http://127.0.0.1/oflaDemo/sssssss/playlist.m3u8, 播放推送流 -(hls) http://127.0.0.1/oflaDemo/flv/sssssss ,等待时间较长 -(http-flv) rtsp://127.0.0.1/oflaDemo/sssssss -(rtsp) 3.2 点播(支持flv和mp4格式文件(mp4的编码格式视频H.264和音频AAC其他的不行))(放到jar包同级目录webapps/../../下) rtmp://localhost:1935/oflaDemo/file.flv,播放推送流 http://127.0.0.1/oflaDemo/file.flv/playlist.m3u8,播放本地文件 http://127.0.0.1/oflaDemo/3.mp4/playlist.m3u8,播放本地文件
感谢开源的道友- red5服务器源码https://github.com/Red5
- 其他基于red5源码新增的协议 https://github.com/pengliren/sms
|
请发表评论