crtmpserver流媒體服務器的介紹與搭建
睿豐德科技 專注RFID識別技術和條碼識別技術與管理軟件的集成項目。質量追溯系統、MES系統、金蝶與條碼系統對接、用友與條碼系統對接
crtmpserver流媒體服務器的介紹與搭建 (2012-02-29 11:28)
標簽: crtmpserver C++ RTMP Server rtmp Adobe FMS(Flash Med 流媒體服務器 分類: crtmpserver
前言
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"
- },
- ...
- }
- }