1 Star 0 Fork 18

xpmf / RtspServer

forked from fensnote / RtspServer 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
RtspServer @ 6c241bd
Loading...
README
MIT

RtspServer

项目介绍

  • C++11实现的RTSP服务器和推流器。

项目Demo

  • 为了方便调试做的一个Demo: DesktopSharing: 抓取屏幕和麦克风的音视频数据,编码后进行RTSP转发和推流。

目前情况

  • 支持 Windows 和 Linux平台。
  • 支持 H264, H265, G711A, AAC 四种音视频格式的转发。
  • 支持同时传输音视频。
  • 支持单播(RTP_OVER_UDP, RTP_OVER_RTSP), 组播。
  • 支持心跳检测(单播)。
  • 支持RTSP推流(TCP)。
  • 支持关键帧(GOP)缓存。

编译环境

  • Linux: gcc 4.7
  • Windows: vs2015

整体框架

image

其他问题

  • 如何转发或推流媒体文件? 项目目前没有实现对媒体文件的解析, 可以通过ffmpeg对文件进行帧读取再进行转发。
  • RTSP连接成功没有收到数据? (1)可以使用Wireshark分析RTP包。(2)确定系统的大小端模式。

联系方式

MIT License Copyright (c) 2018 PHZ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

网上开源的基于C++11的RTSPServer,测试可以用,非常好用,里面包含实例; 谢谢大神的分享! 嵌入式移植也很方便,只需要修改编译器即可。 展开 收起
C++
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C++
1
https://gitee.com/xpmf/RtspServer.git
git@gitee.com:xpmf/RtspServer.git
xpmf
RtspServer
RtspServer
master

搜索帮助