Input Address Format

Media address has three parts:

type://address#options

type

Describes which type of the source should be used. Available next types:

udp — UDP multicast, unicast, or broadcast rtp — based on the UDP http — HTTP based protocols. MPEG-TS, HLS (HTTP Live Streaming) rtsp — Real Time Streaming Protocol to receive streams from IP cameras dvb — DVB Adapters. Receive streams from DVB-S/S2, DVB-T/T2, DVB-C, ISDB-T, and ASI devices file — MPEG-TS Files

address

Source specific address

options

Options could be source specific and general. Options should divided by the & symbol. For example: dvb://a001#pnr=100&cam

Input specific options

UDP/RTP

Image

udp://[interface@]address[:port][#options] rtp://[interface@]address[:port][#options]

renew=INTERVAL — renew the multicast subscription after the defined time Examples:

udp://239.255.1.1 udp://eth0@239.255.1.1 udp://127.0.0.1:10000 udp://239.255.1.1:1234#sync

RTSP

rtsp://[login:password@]address[:port][/path]

HTTP

Image

http://[login:password@]address[:port][/path]

Additional options:

To receive HTTPS source need to use additional proxy, nginx for example, because Astra doesn't support HTTPS yet. Create configuration file /etc/nginx/sites-enabled/astra with content:

server {
    listen 30000;
    server_name _;

    location / {
        proxy_cache off;
        expires -1;
        proxy_ssl_server_name on;
        proxy_pass https://example.com:8000;
    }
}

MPEG-TS File

Image

file://path

loop — start playing from the beginning after the end of file Examples:

file:///mnt/raid0/file.ts

General options