
K2 Edge Protocol Manual – document version 1.0 – Page 15
4.9. Sub command preload
Function: prepares a template for playback.
Name of the template to be preloaded, as defined in Channel
Composer.
External ID. Free format. See above.
Unique template instance ID. Numeric. See above.
Start time for the preload command in hh:mm:ss:ff timecode format.
When not specified, the command starts as soon as possible.
...
spvalue0
optional Optional scene parameters. See above.
Embedded alternative to separate sg-select sub command, where
the value for this field must be set to what the
rootfolder
field
expects in the
sg-select
command. See section on sub command
below for details.
Scene graph instance ID needed alongside the sg-select field
described above.
Time-to-live value in seconds for all needed assets (clips, etc) claimed
during this preload command. The asset resources will be freed after
the given time. Make sure
ttl
is long enough to cover the distance in
time between this preload- and the follow up play sub command.
Numeric, in seconds. Value 0 indicates no ttl. Value -1 indicates default
ttl value as defined in the nexos init params channel section.
Feedback switch. Set value to
true
to request feedback. See
dedicated chapter on feedback.
Feedback detail level. Supported values are basic,
most
and full.
The combination of the template and inst field values uniquely identifies the template instance. The follow
up play command must define the same template and inst values.
Example:
{cmd=nre; subcmd=preload; template=PlayMovie; inst=0; exid=1;
stm=14:13:00:00; spname0=clipname; spvalue0=a0000123.mpg;}
Newlines do not exist in K2 Edge API commands. Examples are wrapped for layout purposes only.
Comentarios a estos manuales