在有些场景下,我们不想用rtmp服务器,可能觉着rtmp服务器安装部署维护麻烦, 可能还要有专门的硬件服务器,但这又增加了成本. 也不想用互联网上的rtmp服务器,只想在局域网环境下搭建一个直播系统。那么就可以考虑rtsp直播方案.
首先下载主播端和播放端软件 https://github.com/daniulive/SmarterStreaming https://https://github.com/daniulive/SmarterStreaminghttps://github.com/daniulive/SmarterStreaming

双击打开主播端软件, 按照图片说明进行配置:

做好基本配置后,请点击"配置查看Rtsp服务"按钮,弹出如下设置:

根据上图启动rtsp服务器后,点击确定回到主界面,然后点击"发布rtsp流"按钮即可,如下图:

到此主播端配置已经完成。
接下来打开播放端输入播放地址,点击播放:

最终延时效果如下:

如有问题,欢迎交流.