Open main menu

Ace Stream Wiki β

Changes

Streaming/en

No change in size, 12:51, 21 December 2012
no edit summary
*<tt>--name NAME</tt> - broadcast name (this name is used when creating acelive and other service files)
*<tt>--source SOURCE</tt> - source (link to http-stream)
*<tt>--bitrate BITRATE</tt> - average bitrate of stream in bites bytes per second
''optional parameters''
*<tt>--cache-dir CACHE_DIR</tt> - directory for creating service files (broadcast cache and others)
*<tt>--publish-dir PUBLISH_DIR</tt> - directory, in which acelive-file will be created
*<tt>--piecesize PIECESIZE</tt> - piece size in bites bytes (if it's not specified, it's set automatically depending on bitrate)
*<tt>--duration DURATION</tt> - size of broadcast cache in format HH:MM:SS (by default, one hour: 01:00:00)
*<tt>--host HOST</tt> - set address of local tracker manually
*<tt>--max-outgoing-connects MAX_OUTGOING_CONNECTS</tt> - maximum number of outgoing connections (to other peers) (by default: 50)
*<tt>--max-upload-slots MAX_UPLOAD_SLOTS</tt> - maximum number of peers, on which data from support node are given simultaneously (by default: 7)
*<tt>--max-download-speed MAX_DOWNLOAD_SPEED</tt> - maximum download speed (bitebyte/s). By default: 0 (no restrictions).*<tt>--max-upload-speed MAX_UPLOAD_SPEED</tt> - maximum upload speed (bitebyte/s). By default: 0 (no restrictions).
*<tt>--show-pieces</tt> -show in log numbers of pieces as they are created
*<tt>--show-peers</tt> - periodically show in log list of connected peers
*192.168.1.2 - server for support node
*192.168.1.3 - server for support node
*192.168.1.100 - server that gives original broadcast's stream (HTTP MPEG-TS) at <nowiki>http://192.168.1.100/stream</nowiki> (average bitrate of stream - 300 000 bitebyte/s)
It's assumed that on server 192.168.1.1 there is a web-server with a core directory <tt>/home/www</tt> and two other directories: