crtmpserver流媒体服务器的介绍与搭建
2016-09
睿丰德RFID软件系统集成商
前言
Adobe的FMS(Flash Media Server)是很好用。但对应着分级授权的是money和有限功能开放。商业的东西既然用不起,也阻碍了我们的技术进步,那就只能求助于开源社区了。而crtmpserver就是FMS的替代者之一 1. crtmpserver简介 crtmpserver的功能总来说:- 支持推送给它的rtmp流的接收与播放器请求的分发;
- rtmp流媒体服务器树状网络集群的构建;
- 支持iPhone,Android。
下面是官网首页的功能与应用介绍(http://www.rtmpd.com/)
crtmpserver it is a high performance streaming server able to stream (live or recorded) in the following technologies:
- To and from Flash (RTMP,RTMPE, RTMPS, RTMPT, RTMPTE)
- To and from embedded devices: iPhone, Android
- From surveillance cameras
- IP-TV using MPEG-TS and RTSP/RTCP/RTP protocols
Also, crtmpserver can be used as a high performance rendes-vous server. For example, it enables you to do:
- Audio/Video conferencing
- Online gaming
- Online collaboration
- Simple/complex chat applications
- #tar -zxvf cmake-2.8.7.tar.gz
- #cd cmake-2.8.7
- #./bootstrap
- #gmake
- #make install
- #tar -zxvf openssl-0.9.8t.tar.gz
- #cd openssl-0.9.8t
- #./Configure
- #make .
- #make install
- #svn co --username anonymous --password "" https://svn.rtmpd.com/crtmpserver/branches/1.0 crtmpserver
- #cd crtmpserver
- #sh ./cleanup.sh
- #cd builders/cmake
- #cmake .
- #make
- #./crtmpserver/crtmpserver ./crtmpserver/crtmpserver.lua
- default=true,
- acceptors =
- {
- {
- ip="0.0.0.0",
- port=80,
- protocol="inboundRtmp"
- },
- {
- ip="0.0.0.0",
- port=1935,
- protocol="inboundRtmp"
- },
- ...
- }
- }