Live Source
From SpinetiX Support Wiki
This page is related to the HMP300 and HMP350 devices. For older models, see Client/Server mode page.
Contents
Introduction
Live Source is a content pull method whereby the HMP is requesting and displaying an entire project located on a remote content server. After configuring a Live Source, it can be activated within the content scheduling tool.
Each resource included in the network project is verified & retrieved when it needs to be played, therefore the content server must be accessible all the time, if possible. And the network connection needs to be (very) fast, so that, for instance, a large video file could be downloaded and played in real-time. Some resources (like SVG files, images, small video files etc.) might be cached locally to minimize the network bandwidth, nevertheless, Live Sources are generally not resilient to network failures.
But what happens when network failures occur? Well, the HMP regularly checks the main index.svg of the network project, so if the content server is not reachable or the network is disconnected, the HMP switches to playing the next asset scheduled in the same period within the content scheduling tool - the exact process is described in detail below.
Comparison with Scheduled Download
Comparing to the Scheduled Download, where the local project is synchronized with the server periodically, using a Live Source has the advantage of retrieving the new / changed resource as soon as is needed to be displayed. However, the disadvantage is that the connection between the HMP and the server must be reliable and must transmit the files fast enough when needed to be displayed (otherwise the resource will be displayed when available or skipped).
Configuration
To configure one or more Live Sources, follow these steps:
- Open HMP Control Center and go to Content > Live Sources page.
- Enter the network project location URI or folder name.
- This must be a valid HTTP(S) address, ending with a trailing slash, something like:
http://synology-nas:5005/projects/MyProject/
. - A folder name could also be specified in case the HMP a was configured to retrieve some content in a local folder via Scheduled Download.
- This must be a valid HTTP(S) address, ending with a trailing slash, something like:
- Enter a friendly name for this Live Source. This name is shown in the Schedule page.
- To add another Live Source, click on "Add" button and enter its details in the same manner.
- Click the "Apply" button to save your changes.
- The HMP looks for and tries to open the index.svg file in the root of the entered URI / folder.
- If the network location requires username and password to be accessed, then enter the credentials under System > Saved Passwords page. See Web servers page for information on supported authentication schemes.
Usage
Live Sources can be used within the content scheduling tool, just as any other asset.
To activate and display a Live Source, follow these steps:
- Open the content scheduling tool by clicking on the "SCHEDULE" link on the top bar menu.
- Select "Live Sources" as asset filter, to remove any media and playout assets from the list.
- Note: Live Sources that are not accessible by the HMP are not listed.
- Drag and drop the Live Source icon into the schedule or as default content, the same way as with any other asset.
- Click the "Save" button on the top-right side to save your changes.
Process
Right after configuring and scheduling a Live Source, sub-process I is activated; the rest of actions done by the HMP follow from there.
Process I
The HMP tries to open the index.svg file in the root of the specified network location.
- If that succeeds, then Process II is activated.
- If that fails, then Process III is activated.
Process II
This sub-process is employed when the HMP starts playing the main index.svg of the Live Source.
Each time a resource included in the network project, including its main index.svg, needs to be played by the HMP, the following actions are done:
- If the resource is actively cached, then the HMP displays the resource from its local cache. This process continues to the next resource.
- Else, the HMP requests the status of the resource from the content server.
- If, for any reasons, the server cannot be contacted or returns an error, then the following occurs:
- for main index.svg, Process III is activated.
- for any other resource, the HMP skips playing that resource. This process continues to the next resource.
- new / changed, then the resource is marked for download.
- unchanged, but the resource is not present on the HMP cache, then it is also marked for download.
- If the resource is marked for download, then the HMP downloads the resource from the server and adds it to its local cache (according to the caching directives).
- Finally, the HMP tries to display the resource from its local cache, otherwise, it skips that resource. This process continues to the next resource.
Process III
This sub-process is employed when the HMP decides that it cannot play the Live Source.
In this case, the following actions are done:
- The Live Source is temporarily discarded and the HMP switches to playing the next asset scheduled in the same period within the content scheduling tool.
- The HMP checks (at first after 10s, then 20s, 40s ... and so on up to a maximum of 2h) whether the Live Source is accessible again - when that happens, then Process I is activated.
Notes
- The HMP tries to play the content as much as possible from its local cache (to minimize the network bandwidth), however a stable network connection is necessary to regularly connect to the server and check for updates.
- The HMP will use up to 70% of its free space for the cache, without overwrite any existing content.
- Do not use another HMP as content server, because this might have unexpected results on the client(s) and will definitely have a negative impact on the performance of the HMP used as server.
Tutorials
- Tutorial:Using myDrive as content server
- Tutorial:Using Synology NAS as content server
- Tutorial:Using QNAP NAS as content server
Troubleshooting
Network:
- The HMP cannot connect to UNC paths - see the Web servers page for more details.
- URLs are resolved using DNS; WINS is not supported by the HMP. You may use hostnames which are not Fully Qualified Domain Names, but they will only be resolved if your local DNS is properly configured.
Custom fonts:
- Any custom fonts cannot be used remotely, so they must first be installed on the player to be used - this is a known limitation. An workaround is to publish an Elementi project using those custom fonts, before using a Live Source; you only need to do this once.