crtmpserver

Git mirror of crtmpserver's SVN trunk

  • 所有者: j0sh/crtmpserver
  • 平台:
  • 許可證: GNU General Public License v3.0
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Instructions how to compile and use C++ RTMP Server (a.k.a crtmpserver)

Requirements:

  • GCC and other C++ tools
  • SVN
  • libdl, libssl, libcrypto
    (make sure you have the "devel" packages of libdl, ssl and crypto installed prior to compiling)

In order to get the source code, issue the following command:

svn co --username anonymous https://svn.rtmpd.com/crtmpserver/trunk crtmpserver
When it asks for password, hit Enter key

Compile the package. Do the following steps:

cd crtmpserver/builders/cmake
cmake .

(this step will create all the Makefile's that are required. If some package is missing, the cmake will complain)

make

The compilation procedure should be finished within few minutes.

After you compiled the package, it's time to test it. Run the following command:

./crtmpserver/crtmpserver crtmpserver/crtmpserver.lua

If everything goes well, you'll get on your console a table with IP's, ports, protocols, and application names
If you see this table, then crtmpserver is working.

Lets test it the server. Follow these simple steps:

  • Change the 127.0.0.1 to either the IP of your crtmpserver or simply use a hostname of your machine
  • Replace file-download with the actual filename of your sample you download. Remeber to omit the .flv if it's an FLV file
  • Open a web browser and point it to to the web server IP/Hostname and the directory you installed the player
    (example: http://127.0.0.1/player)
  • You should see a player. Click the play button and the video should be played.

If you see the video, then everything works well.

Installing crtmpserver:

  • Go to the directory crtmpserver/cmake
  • Run the following command: cmake -DCRTMPSERVER_INSTALL_PREFIX= (for example /usr/local/crtmpserver)
  • After previous command done start build project with command: make
  • After build comlete run command: make install
  • After install you has installed crtmpserver in (in our case /usr/local/crtmpserver)
  • Now you can start crtmpserver with command:
    sudo /sbin/crtmpserver --uid= /etc/crtmpserver.lua
    in our case:
    sudo /usr/local/crtmpserver/sbin/crtmpserver --uid= /usr/local/crtmpserver/etc/crtmpserver.lua

Also look into builders/packing directory. There are several OS specific builders.

  • in directory "debian" builder for Debian, also can be used for Ubuntu and other distributions based on debian
  • in directory "freebsd" builder(port) for FreeBSD

crtmpserver settings

  • All crtmpserver settings are located in a detailed file calle: crtmpserver.lua

Support/Help:
If you're lookingo for assistance with crtmpserver, feel free to join us at:
http://groups.google.com/group/c-rtmp-server

Credits:

  • crtmpserver written by: Gavriloaie Eugen-Andrei
  • Documentation (this file): Hetz Ben Hamo, Andriy Beregovenko
  • TinyXML: Lee Thomason
  • lua: Roberto Ierusalimschy, Waldemar Celes, Luiz Henrique de Figueiredo
  • Performance: Vlad Galu
  • Protocols: Mircea Danila Dumitrescu

主要指標

概覽
名稱與所有者j0sh/crtmpserver
主編程語言C++
編程語言ActionScript (語言數: 9)
平台
許可證GNU General Public License v3.0
所有者活动
創建於2012-04-12 20:39:36
推送於2019-03-14 02:18:57
最后一次提交2012-09-15 01:41:17
發布數0
用户参与
星數332
關注者數35
派生數164
提交數771
已啟用問題?
問題數8
打開的問題數7
拉請求數1
打開的拉請求數2
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?