Configuring temporary URL protection

You can protect the transmission of streams by using temporary URLs. Temporary URLs make sure that only authorized viewers can access the protected stream.

When you enable temporary URLs, each time a device requests a stream from the streaming server, the device receives a temporary URL. That URL includes a unique, automatically generated token, which encodes the transmission.

The following streaming servers support temporary URL protection:

  • Flussonic

  • Wowza

  • Nginx

  • Nimble

To configure a temporary URL

  1. Navigate to IPTV channels > Channels.

  2. Open a channel by selecting its name in the Title column.

  3. In the Basic section, add an output stream or edit an existing one.

    Learn more: Output streams

  4. From the Temporary URL drop-down, select the streaming server, for example, Flussonic.

  5. Select Save.

Before you can use temporary URLs, make sure you configure the streaming server's backend.

Configuring the backend on Flussonic

To configure the backend

  • In the Flussonic UI, on the Auth backends screen, enter the following URL:

    http://example.ministra.pro/server/api/chk_flussonic_tmp_link.php

    • example represents your domain name

    • chk_flussonic_tmp_link.php verifies the temporary URL

For more information, refer to Flussonic documentation at https://flussonic.com/doc/.

Configuring the backend on Wowza

To configure the backend

  1. Copy the temporary link plugin from the backend distribution:

    /ministra_middleware/wms/infomir-tmplink.jar

  2. Move the copied plugin to the Wowza streaming server:

    /usr/local/WowzaStreamingEngine/lib/

  3. Change the access permissions for the archive with the following command:

    sudo chmod +x /usr/local/WowzaStreamingEngine/lib/infomir-tmplink.jar

  4. In the Wowza Streaming Engine Manager, in the application you use, add a module with the following parameters:

    • Name: tmplink

    • Description: temporary url

    • Fully Qualified Class Name: com.infomir.wms.module.TmpLinkModule

  5. Restart the application.

  6. Add a custom property to the module with the following parameters:

    • Name: stalkerApiServer

    • Type: String

    • Fully Qualified Class Name: http://portal-domain-name.example.com/wowza/

For more information, refer to Wowza documentation at https://www.wowza.com/docs/.

Learn more: IPTV channels