Skip to content

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.

http://address
http://address:port/path
http://login:password@address:port/path#options

This is common HTTP address. Astra supports https as well.

  • login:password – login and password for HTTP authentication. Supports Basic and Digest authentication methods
  • address – server IP address or domain name
  • port – port number. Default: 80 for http and 443 for https
  • path – the path to the resource. Default: /

Options:

  • ua=Name – custom User-Agent header
  • timeout=N - timeout for HLS segments loading. By default, timeout depend of the segment duration
  • debug - 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 processing
  • no_sync - is a short option for buffer_time=0 turns synchronization off and downloads stream data without any limits

To set up HTTP input in Astra, just write your source address to the Input field.