1 Star 0 Fork 0

xuwenjie1010 / RtspServer

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

RtspServer

项目介绍

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

项目Demo

  • DesktopSharing: 抓取屏幕和麦克风的音视频数据,编码后进行RTSP转发和推流。

目前情况

  • 支持 Windows 和 Linux平台。
  • 支持 H264, H265, G711A, AAC 四种音视频格式的转发。
  • 支持同时传输音视频。
  • 支持单播(RTP_OVER_UDP, RTP_OVER_RTSP), 组播。
  • 支持心跳检测(单播)。
  • 支持RTSP推流(TCP)。
  • 支持摘要认证(Digest Authentication)。

编译环境

  • Linux: gcc 4.8
  • 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++ 等 3 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xuwenjie1010/RtspServer.git
git@gitee.com:xuwenjie1010/RtspServer.git
xuwenjie1010
RtspServer
RtspServer
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891