Receiving HLS / HTTP MPEG-TS
Astra receives streams from HTTP sources in two formats: HTTP MPEG-TS and HLS (HTTP Live Streaming). Both use standard HTTP protocol, making them compatible with existing web infrastructure, CDNs, and firewalls.
Media Address Format
Section titled “Media Address Format”http://addresshttp://address:port/pathhttp://login:password@address:port/path#optionsThis is common HTTP address. Astra supports https as well.
login:password– login and password for HTTP authentication. Supports Basic and Digest authentication methodsaddress– server IP address or domain nameport– port number. Default:80for http and443for httpspath– the path to the resource. Default:/
Options:
ua=Name– custom User-Agent headertimeout=N- timeout for HLS segments loading. By default, timeout depend of the segment durationdebug- log response headers. Also should be turned on debug in the log messages
HLS Specific Options:
bandwidth=N- select stream with defined bandwidth. By default, astra select stream with maximal bandwidth value
HTTP MPEG-TS Specific Options:
buffer_time=N- specifies the size of the temporary buffer for receiving stream and synchronizing the bitrate. Astra downloads stream data to the buffer at maximum speed, then sends data evenly for processingno_sync- is a short option forbuffer_time=0turns synchronization off and downloads stream data without any limits
Web Interface
Section titled “Web Interface”To set up HTTP input in Astra, just write your source address to the Input field.