运行截图

RtspService.exe 命令行使用帮助

Syntax: RtspSerivce -bindip <string | integer> -bindport <integer> -videofile <string> -audiofile <string>
-bindip <string | integer>  Specify the bind ip address.
                                Can be input string or integer.
                                If the input is string,
                                it will be used to bind the IP address.
                                If the input is integer,
                                the IP address of the n-th NIC will be bound,
                                where n is the value of the input.
                                Dafelut use the 1th NIC's ip address.
-bindport <integer>         Specify the bind port.
                                Dafelut bind port is 554.
-videofile <string>         Specify the video file path.
                                Dafelut file path is "oh_yeah.h264".
-audiofile <string>         Specify the audio file path.
                                Dafelut file path is "oh_yeah.aac".

Example:

RtspSerivce -bindip 192.168.0.1 -bindport 554 -videofile c:\xx\xx.h264 -audiofile c:\xx\xx.aac

===================================
客户端播放地址:rtsp://xxx.xxx.xxx.xxx/live
注意最后需要live的会话名称。
 

===================================
下载地址:http://down.51cto.com/data/171024

===================================
最后更新:

20110107
所有核心代码均可以再上述开源项目代码中找到。因此,此版本不在公开提供源码。确实需要源码作为学习用途,可以赞助一点支持费用另行提供。赞助费¥20.00元(是¥20.00,不是$20.00),你的支持,是我持续的动力。

淘宝地址:
http://item.taobao.com/item.htm?id=8717871014&ad_id=&am_id=&cm_id=&pm_id=

因为前段时间撰写的ParseSDPInfo,和修改新版的TsMux的关系,完成了AAC的解析和PTS同步部分的代码(基本核心代码也是从VLC和Live555以及FFMpeg中参考、剥离)。准备将这部分代码植入到RtspService,加入支持AAC文件,把RtspService做成一个独立的服务端软件,而不是一个代码示例。
至于RtspClient部分,我自己保留用来做测试,同样不再开放源码。


未来的计划是:设计一个对外透明的远程控制协议,用于控制RtspService加入、删除、管理数据文件和数据流,实现一套完整的流媒体服务端软件。会加入更多格式的数据源解析,例如TS、MP4等等。没准还考虑支持其他种类的数据源,比如网络数据源、摄像头、采集设备等...
仅仅是计划...

20101126
修正RTSP协议中,错误的生成了profile-level-id和sprop-parameter-sets信息的问题。

20100701
实现Service部分,发送H264文件的Demo工程样例。AAC文件发送支持尚未加入。而且H264文件支持部分也不完善,还有很多问题。仅供参考。