5.5.58 ThumbnailElement

The ThumbnailElement displays a thumbnail of the video actually processed by a device like an encoder, decoder or gateway. The displayed icon is a static image, fetched directly from the device and updated every couple of seconds.

Data Model (extends ScreenElement)

Key Type Value
type String Always "ThumbnailElement".
xpos Number see ScreenElement
ypos Number see ScreenElement
width Number see ScreenElement
height Number see ScreenElement
id String The message ID this element listens to

REMARKS

The Thumbnail Icon element itself must fetch the image to display in regular intervals directly from the device. As a consequence of this the following restrictions apply:

With urlType = PLAIN , the imageUrl is used without modification to fetch the image. The image received from the device must be scaled to fit the screen element size.

With urlType = ADVANCED the front end appends some parameters to the URL as shown in the example below. In this case no scaling is done as the software queries the image already in the correct size from the device.

http://1.2.3.4/somepath?t=1693050862003&w=320&h=180

The example above starts from a imageUrl = http://1.2.3.4/somepath definition. With urlType = ADVANCED the front end must add the parameters t, w, and h as shown. The value of t is the actual time in milliseconds since Jan 1st 1970, 00:00 UTC, w and h define the dimension of the image in pixels. They usually math the width and height fields of the data model.