Difference between revisions of "Crtmpserver"
From Alessandro's Wiki
Line 1: | Line 1: | ||
= installation = | |||
== linux == | |||
* I choosed '''/opt/crtmpserver''' as source directory | |||
svn co --username anonymous https://svn.rtmpd.com/crtmpserver/branches/1.0 crtmpserver | |||
* do compile the source specifying the prefix you want, '''/usr/local''' is a good choice to keep the filesystem under control, but remember to check the ''$PATH'' variable afterwards: | |||
cd builders/cmake | |||
cmake -DCRTMPSERVER_INSTALL_PREFIX=/usr/local . | |||
make install | |||
* now let's go in ''/usr/local/etc/'' and use crtmpserver.lua'''.sample''' to generate your '''crtmpserver.lua''' changing the '''rootDirectory="''' variable in ''applications= {'' ''/usr/local/lib/crtmpserver/applications'' | |||
* install the certificates: | |||
cp /usr/src/crtmpserver-690/builders/cmake/applications/appselector/server.* /usr/local/lib/crtmpserver/applications/appselector/ | |||
= configuration = | |||
* /opt/crtpmserver/configs | |||
all.debug.lua | |||
flvplayback.lua | |||
run.bat | |||
run.sh | |||
users.lua | |||
== streams == | |||
/opt/crtpmserver/configs/flvplayback.lua | |||
= applications = | |||
* application files: | * application files: |
Revision as of 14:51, 31 May 2012
installation
linux
- I choosed /opt/crtmpserver as source directory
svn co --username anonymous https://svn.rtmpd.com/crtmpserver/branches/1.0 crtmpserver
- do compile the source specifying the prefix you want, /usr/local is a good choice to keep the filesystem under control, but remember to check the $PATH variable afterwards:
cd builders/cmake cmake -DCRTMPSERVER_INSTALL_PREFIX=/usr/local . make install
- now let's go in /usr/local/etc/ and use crtmpserver.lua.sample to generate your crtmpserver.lua changing the rootDirectory=" variable in applications= { /usr/local/lib/crtmpserver/applications
- install the certificates:
cp /usr/src/crtmpserver-690/builders/cmake/applications/appselector/server.* /usr/local/lib/crtmpserver/applications/appselector/
configuration
- /opt/crtpmserver/configs
all.debug.lua flvplayback.lua run.bat run.sh users.lua
streams
/opt/crtpmserver/configs/flvplayback.lua
applications
- application files:
/usr/local/lib64/crtmpserver/applications/admin /usr/local/lib64/crtmpserver/applications/applestreamingclient /usr/local/lib64/crtmpserver/applications/appselector /usr/local/lib64/crtmpserver/applications/flvplayback /usr/local/lib64/crtmpserver/applications/proxypublish /usr/local/lib64/crtmpserver/applications/samplefactory /usr/local/lib64/crtmpserver/applications/stresstest /usr/local/lib64/crtmpserver/applications/vptests /usr/local/lib64/crtmpserver/applications/admin/libadmin.so /usr/local/lib64/crtmpserver/applications/applestreamingclient/libapplestreamingclient.so /usr/local/lib64/crtmpserver/applications/appselector/libappselector.so /usr/local/lib64/crtmpserver/applications/appselector/server.crt /usr/local/lib64/crtmpserver/applications/appselector/server.key /usr/local/lib64/crtmpserver/applications/flvplayback/libflvplayback.so /usr/local/lib64/crtmpserver/applications/flvplayback/mediaFolder /usr/local/lib64/crtmpserver/applications/flvplayback/users.lua /usr/local/lib64/crtmpserver/applications/proxypublish/libproxypublish.so /usr/local/lib64/crtmpserver/applications/samplefactory/libsamplefactory.so /usr/local/lib64/crtmpserver/applications/stresstest/libstresstest.so /usr/local/lib64/crtmpserver/applications/vptests/libvptests.so
references
- installing on gentoo
http://foxpa.ws/2011/10/26/installing-c-rtmp-server-rtmpd-crtmpdserver-on-gentoo/
- using it
http://wiki.rtmpd.com/tutorial_live_stream_file
- documentation