Changes

Jump to: navigation, search

Engine HTTP API

87 bytes added, 22:55, 19 April 2018
API methods
Terms: <tt>''<engine_address>''</tt> - app engine IP address, <tt>''<engine_port>''</tt> - app engine HTTP port.
Common params:
*'''sid''' - [[#Player ID|player id]] (optional)
*'''id''' - content id (conditional param)
*'''infohash''' - transport file infohash (.acelive or .torrent file) (conditional param)
*'''url''' - link to transport file (conditional param). Can be used with URL encoded "file://path/" to access local file.*'''pathpid''' - local path to transport file [[#Player ID|player id]] (conditional paramoptional, formerly known as '''sid''', since ver. 3.1.29 is obsolete and replaced by '''pid''')
In the query to the app engine at least one of params <tt>id</tt>, <tt>infohash</tt>, <tt>url</tt>, <tt>path</tt> must be present.
===How to get HLS stream===
==Player ID==
Player ID ('''pid''') - random string, used for player identification during engine connect session.
"Player ID" purpose - app engine must distinguish one player session from another, as in the current engine implementation user cannot play the same live stream with two (or more) players simultaneously from one engine, and engine will stop to serve requests from one player, when got a new request from another.

Navigation menu