Streams

    Click the Dashboard tab (homepage).
    In the upper right corner, click on the button "New Stream", after which you will have a window to add a new stream.

    General tab

    Image

    The purpose of parameters:

    1: NAME - the name of the thread. It can be arbitrary, and is used for the convenience of channel search in the interface and log.\
    2: ID - unique name-identifier of the stream in the system. Does not require manual filling: id will be set when saving the stream. Also used in API.
    3: Multi Program Stream - switch to create a MPTS stream. (More detailed: MPTS)
    4: Start stream on demand - to activate the stream on demand. For example, if output is mpeg-ts stream, this channel will be activated only if there are active clients that view it. (Please note: only mpeg-ts stream supports this feature)
    5: KEEP AKTIVE - additional setting for the "Start stream on demand" function. Is time during which the stream is active after the last client is disconnected.\
    6: CHANNEL NUMBER - channel sorting for HTTP Play - allows to set the channel sorting in the playlist.
    7: INPUT LIST - a list of addresses (URLs) from which Astra can receive the media stream. 8: NEW INPUT - Add a new media address. Multiple media addresses can provide fault tolerance: If the media stream goes missing on input 1, Astra will switch to Input 2.
    9: Arrow icon - change the order of media streams. By default, Astra always uses the media address with the lowest number (1, then 2 - 3.)
    10: Arrow icon - opens the tab-guide to configure media addresses.
    11: OUTPUT LIST - a list of addresses (URLs) to which Astra can send a media stream. (example settings will be in the article)\
    12: Arrow icon - change the order of media addresses. Used for easy navigation\
    13: Arrow icon - opens the tab-guide to configure media addresses.
    14: APPLY/CLONE/HELP

    Sample setup:


    For example, consider a typical case: a server with 2 network interfaces, one of which is connected to the Internet, and the other - to the local network, where there is UDP-multicast broadcasting. Our task: to receive the channel from the multicast address "225.2.2.41:1234" and transfer it via HLS Protocol to the Internet.

    Step 1:

    Press the "New Stream" button and go to the channel adding tab, fill in the field 1: NAME (for example "TEST")

    • Нажмем на кнопку 10: gear symbol - the protocol selection window, select the UDP protocol from the drop-down list

    Image

    After that, we will open the media address settings page. Fill in the required fields: (the fields of interest to us are highlighted in red) Image

    Explanation: if the server correctly specified routes to multicast groups, the tab Local Interface we do not need. Otherwise, you should disable rp-filter and select the network interface that is connected to the multicast network in the drop-down list.


    Step 2:

    Press the 13: gear symbol button to open the Protocol selection window.\
    Select the HTTP/HLS Protocol from the drop-down list


    Step 3:

    This opens a dialog box to set the outgoing media address
    Fill in the fields as shown in the example.
    (If you want to use the function HTTP Play - it is possible not to fill in the line of the outgoing media address)

    Image


    Step 4:

    Now lets look at the media addresses in our input and output settings:
    As we can see - these are the usual media addresses that can be written without the help of a web assistant. Image


    Step 5:

    Save the stream and see its status in the web interface:

    Image

    As you can see, Astra has successfully subscribed to this stream.
    Check broadcasting: open any player, for example VLC and perform the steps: "File->Open network" - in the window that appears, fill in the media address: "http://server ip address:8001/test.m3u8"
    After clicking "Open" - our test stream should appear on the screen. ———