Code Monkey home page Code Monkey logo

xrtspserver's Introduction

XRtspServer

Rtsp服务器

#示例代码见

https://github.com/NiuStar/RtspServerTest

目前已实现功能:

1、RTSP接收推流

2、RTSP直播

3、API接口

通过调用RtspClientManager.GetCurrManagers()获取目前观看者列表

[{

"ClientS": ["192.168.1.92:56181"],
"Url": "rtsp://192.168.1.92:8554/1_s.sdp"

}]

数组内为推送视频流列表,

URL:视频流的RTSP地址,

ClientS:观看者的源地址列表

测试推流工具:

Android:https://fir.im/EasyPusher

https://fir.im/EasyPusher

iOS:https://itunes.apple.com/us/app/easypusher/id1211967057

https://itunes.apple.com/us/app/easypusher/id1211967057

测试播放工具:

VLC播放器

下一步开发目标:

1、后台配置管理页面

2、视频流切片存储功能

3、HLS转发功能

4、RTMP推流功能

5、RTMP直播功能

6、MP4视频直播

欢迎有兴趣爱好者一起加盟开发

联系方式:24802117(QQ)

邮箱:[email protected]

xrtspserver's People

Contributors

niustar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xrtspserver's Issues

用ffmpeg推流失败

------ rtsp client connection[[::1]:52062] : get request ------
SETUP rstp://localhost:8554/test/streamid=0 RTSP/1.0
Transport: RTP/AVP/UDP;unicast;client_port=21690-21691;mode=record
Cseq: 3
User-Agent: Lavf57.41.100


------ Session[[::1]:52062] : set response ------
RTSP/1.0 200 OK
Cache-Control: no-cache
CSeq: 3
Transport: RTP/AVP/UDP;unicast;client_port=21690-21691;mode=record
Session: 1
Server: XVideoStreamServer


Exit signals by rtsp
------ Session[[::1]:52062] : closed ------

推流命令:ffmpeg -re -i source/test.flv -c copy -f rtsp rstp://localhost:8554/test

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.