Spydroid还是大牛直播内置RTSP服务SDK

废话不多说,先列二者功能:
1. Spydroid:
The stream can be directly read by VLC which is great because VLC is a very powerful tool, for example you can really easily record the stream in a file. [FAQ See the FAQ to find out how].
You can enable/disable sound or video streaming
The resolution, the bitrate and the framerate of the stream can be configured... Two video encoders are available for the video streaming: H.263 and H.264. For sound streaming AMR and AAC are available.
The flash can be controlled remotly !
You can choose between the back facing camera and the front facing camera (if your phone has one)
Funny sounds can be played on the phone from the HTTP interface ! 
You can make the phone vibrate remotely
You can see the battery level of the phone
Advanced Use of Spydroid
RTSP Server
Since v3.2, you can pass sophisticated URIs to the RTSP server to remotly configure Spydroid. Here are some example of what you can do:

Enable video streaming & with H.264 and turn flash on ! (H.264 is a standard for video compression)

vlc "rtsp://xxx.xxx.xxx.xxx:8086?h264&flash=on"
Enable video streaming of the front facing camera !

vlc "rtsp://xxx.xxx.xxx.xxx:8086?h264&camera=front"
Enable video streaming with H.263 and sound streaming with AMR and turn flash on ! (H.263 is also a standard for video compression and AMR is a standard for audio compression)

vlc "rtsp://xxx.xxx.xxx.xxx:8086?h263&amr&flash=on"
Enable video streaming and set bitrate to 200kb/s

vlc "rtsp://xxx.xxx.xxx.xxx:8086?h264=200"
Enable video streaming and set bitrate to 500kb/s and framerate to 20fps

vlc "rtsp://xxx.xxx.xxx.xxx:8086?h264=500-20"
Enable video streaming and set bitrate to 500kb/s / framerate to 20fps / resolution to 320x240px

vlc "rtsp://xxx.xxx.xxx.xxx:8086?h264=500-20-320-240"
Enable aac streaming (introduced in v3.3): this is very experimental and it requieres ICS

vlc "rtsp://xxx.xxx.xxx.xxx:8086?aac"
You can of course still use the following basic URI. Spydroid will then use a default configuration, that you can modify in the option menu !

vlc "rtsp://xxx.xxx.xxx.xxx:8086/"
HTTP Server
If you don't want to use the RTSP protocol, you can also start/stop streams using only the HTTP server You can use any of the options presented for the RTSP server ! The HTTP server will respond with a Session Descriptor.

vlc "http://xxx.xxx.xxx.xxx:8080/spydroid.sdp"
Because you're not using the RTSP protocol, streaming won't stop when you quit VLC. You have to GET the following URL:

curl "http://xxx.xxx.xxx.xxx:8080/spydroid.sdp?stop"
You can start up to two streams with the HTTP server. You can specify a stream id to distinguish the streams. For example:

vlc "http://xxx.xxx.xxx.xxx:8080/spydroid.sdp?id=0&h264&flash=on"
vlc "http://xxx.xxx.xxx.xxx:8080/spydroid.sdp?id=1&amr"
curl "http://xxx.xxx.xxx.xxx:8080/spydroid.sdp?id=1&stop"

2. 大牛直播轻量级RTSP服务SDK:
为满足内网无纸化/电子教室等内网超低延迟需求,避免让用户配置单独的服务器,大牛直播SDK在推送端发布了轻量级RTSP服务SDK:

简单来说,之前推送端SDK支持的功能,内置轻量级RTSP服务SDK后,功能继续支持。

Windows/Android/iOS内置轻量级RTSP服务SDK功能说明

 支持Windows/Android/iOS平台RTMP直播SDK除推送RTMP外的所有常规功能;
 音频编码:AAC;
 视频编码:H.264;
 内置服务协议:RTSP;
 支持RTSP端口设置;
 支持RTSP鉴权用户名、密码设置;
 支持获取当前RTSP服务会话连接数;
 支持同时创建多个内置RTSP服务。
对应Demo:

 Windows测试程序:SmartPublisherDemo.exe;
 Windows C++工程:WIN-PublisherSDK-CPP-Demo;
 Windows C#工程:WIN-PublisherSDK-CSharp-Demo;
 Android工程:SmartPublisherV2;
 iOS工程:SmartiOSPublisherV2。
技术对比:

  1. Spydroid最新的代码,更新于5年前,目前支持android平台,可采集安卓摄像头和音频,对外提供http server和rtsp server,延迟和丢包处理有待优化,优势在于,代码逻辑简单,便于初学者根据协议规范,快速迭代产品初步模型,video编码支持H.263和H.264,audio支持AMR和AAC编码。
  2. 大牛直播内置RTSP服务SDK系商业化SDK,技术成熟,有专人维护、迭代,覆盖windows、android、iOS平台,支持采集屏幕、摄像头,支持实时静音、快照、扩展录像、外部编码前后数据对接等,功能更强大,video编码支持H.264和H.265,audio支持AAC编码,亦可扩展拉取外部rtsp或rtmp流,扩展RTSP网关服务器,支持RTSP鉴权和多个RTSP service启动。

如有更多问题欢迎交流:   QQ群1: 294891451  QQ群2: 499687479

更多资料,可参考:https://github.com/daniulive/SmarterStreaming

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
一款免费的流媒体直播软件,主要用于流媒体直播,视频直播,视频点播,视频录制等应用,与FMS、WOWZA、RED5一道,作为用户流媒体直播应用的可选方案。 1、支持Windows/Linux等多种操作系统; 2、采用开发的流媒体协议,而非私有协议,可以与主流系统对接,至少支持RTMP推流,RTMP拉流,RTSP拉流三种方式获取直播流,支持对获取的直播流再按照TS组播或者单播,RTMP,RTSP,HLS,TS OVER HTTP,FLV OVER HTTP等标准流媒体协议的方式进行对外直播转发; 3、支持录制,可定时录制或手动录制,能录制MP4或者FLV格式文件,录制时支持生成新文件或者追加文件两种方式,支持录制超过4G的文件; 4、单台服务器可支持1000个以上并发用户,直播延时小于2秒; 5、支持RTMP转发功能,能够把AMS上的直播流转发给其它AMS服务器或者第三方的RTMP服务器,例如RED5,FMS,WOWZA流媒体服务器; 6、 支持PC/手机/平板电脑等多终端访问,无论是windows,linux,或者andriod以及IOS系统访问收看直播时都无需下载插件,直接观看; 7、响应点播时间控制在100ms以内,支持暂停、拖动等特技操作; 8、支持文件直播,可把硬盘上存在的FLV文件编目后,按设定好的任务和顺序进行直播; 9、内置Web应用系统,无需复杂配置,可直接部署到用户服务器使用,也可以选配更复杂的媒资管理系统,完成类似优酷土豆的应用模式; 10、开放的系统架构,提供二次开发接口,可轻松的融入到用户已有的平台或网站平台中、或在此基础上进行二次开放等 ------------------------------------------------------------------------- 使用说明: 1、关于安装运行:软件解压到硬盘上后,执行AokuMServiceManager,即可完成AMS服务的安装,安装完成后,在Windows系统服务中会出现一个AokuMService服务; 2、关于端口:AMS默认的管理端口是9001,可通过浏览器登陆http://127.0.0.1:9001/main.html进行管理;AMS默认的RTMP端口是1935,默认的rtsp端口是5554,默认的flv over http端口是7000,默认的ts over http端口是8008,默认的hls端口也是9001; 3、关于推流:使用直播你需要有一个支持rtmp推流的编码器,建议用奥酷全接口高清编码器,当然你也可以通过FME进行软编码来实现; 4、关于接收直播:AMS正常启动并发布上直播流后,你可以在网络内的任一电脑上打开http://ip:9001,通过浏览器观看直播,若开启了hls功能,通过iphone或者ipad登陆http://ip:9001即可观看直播。 5、若开启了TS组播,请确认防火墙是否允许组播,另外您网络内的路由器是否支持组播,接收组播是需要用VLC播放器来完成; 6、接收flv over http也是通过VLC播放器或者支持类似协议的播放器来测试。 7、若使用中出现问题,你可以查看logs目录下的rtmpserver.log文件,里面有详细的错误日志描述。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值