0
edits
Changes
no edit summary
ACE Stream Engine linux-version starting from version 2.0.8 can work in tracker mode.
The following command is used to start the tracker:
<tt>acestreamengine --mode tracker</tt>
Parameters of tracker's start:
* <tt>--port</tt>: портport, наon которомwhich будетthe работатьtracker трекерwill work (поby умолчаниюdefault 8630)
* <tt>--bind</tt>: ip-address of interface, on which the tracker will work (by default the tracker listens on all available interfaces). It is possible to specify multiple interfaces using multiple options <tt>--bind</tt>
* <tt>--reannounce-interval</tt>: интервалinterval вin секундахseconds междуbetween анонсамиannounces отfrom пировpeers (поby умолчаниюdefault 1800)
* <tt>--peer-timeout</tt>: интервалinterval вin секундахseconds, послеafter которогоwhich пирa удаляетсяpeer изis спискаdeleted активныхfrom a list of active peers, еслиif any отannounce негоwas неnot былreceived полученfrom анонсit (поby умолчаниюdefault 2700)
* <tt>--state-dir</tt>: директорияdirectory дляfor храненияkeeping временныхtemporary файловfiles (поby умолчаниюdefault /tmp)
* <tt>--pid-file-dir</tt>: директорияdirectory, вin которой будет созданwhich pid-файлfile сwith названиемthe name acestreamengine-tracker-PORT.pid will be created (поby умолчаниюdefault /tmp)
;Examples
<tt>Start the tracker on all available interfaces on the port 8877:
acestreamengine --mode tracker --port 8877
Start the tracker on a localhost on the port 8877:
acestreamengine --mode tracker --port 8877 --bind 127.0.0.1 --reannounce-interval 300 --peer-timeout 450</tt>
The tracker works via HTTP protocol (UDP support will be included in future).
Announce URL трекераof the tracker:
<nowiki>http://tracker_host:port/announce</nowiki>
Some statistics about tracker's work can be seen here:
<nowiki>http://tracker_host:port</nowiki>
<nowiki>http://192.168.1.113:8630/announce</nowiki>