Remote Control

Getting Feedback On the Playback Progress

It is possible to activate optional reports that will be sent periodically via shared variables. To do so, open the Optional reports property group and set the Send updates property to on(FIG. 53).

FIG. 53 Optional Reports properties

You can control the periodicity of the updates as well as the name of the variables that receive them. Feedback is sent by default via the following shared variables:

playbackProgress: Relative progress as a percentage of the media duration

playbackTimePosition: Absolute time position

playbackMediaDuration: Reports the duration of the media

For more information on how to access the content of these variable over the network, refer to Shared Variables on page 85.

If the controlled media is set to loop, the progress percentage resets to zero when the media loops, while the absolute time position does not.

Knowing the Current Position With Extra Accuracy

The IS-SPX Player is precisely synchronized. This feature is used to generate multiscreen content, as it lets you easily infer the time position of the controlled media. The time position is known with better than one-frame precision based on the difference between the time you send the PLAY command and the current time.

Make sure that all IS-SPX Players in a network are configured with an NTP time server so they synchronize with UTC.

In order to use the play/pause command with time position, you need to infer the current position as well as when to send the pause command. You can simply copy it from the current value of the playback variable when sending a play command to resume playback.

42

Inspired XPress - Programming Guide

Page 50
Image 50
AMX IS-SPX-1000/1300 manual Getting Feedback On the Playback Progress, Knowing the Current Position With Extra Accuracy