User Guide

Standard NetLinx API (SNAPI) R 1.8.0
86
Digital Media Server Functions (Cont.)
Name Component Channel Level Command Constant Notes
getOutputStreamSinks() IOutputStreamComponent ?ENCODESINK Query for Output Stream Sinks, responds
with multiple ENCODESINK-<url>, one for
each output stream sink, where <url> is the
URL of the sink/destination.
getOutputStreamSource() IOutputStreamComponent ?ENCODESOURCE-
<url>
Query for Output Stream Source, responds
with ENCODESOURCE-<url> where <ur>
is the URL for the source.
queryOutputStreamProperties() IOutputStreamComponent ?ENCODEPROPS Query for all Output Stream Media Proper-
ties, responds with multiple
ENCODEPROP-<key>,<value>, one for
each property, where <key> is the property
key and <value> is the property value.
queryOutputStreamProperty(sName) IOutputStreamComponent ?ENCODEPROP-
<key>
Query for one Output Stream Media Prop-
erties, responds with ENCODEPROP-
<key>,<value> where <key> is the property
key and <value> is the property value.
removeOutputStreamSink(cURISink) IOutputStreamComponent ENCODESINKRE-
MOVE-<url>
Remove an Output Stream Sink where
<url> is the URL of the sink to be removed.
setOutputStreamProperty(sName,sValue) IOutputStreamComponent ENCODEPROP-
<key>,<value>
Set an Output Stream Property where
<key> is the property key and <value> is
the property value.
setOutputStreamSource(cURISource) IOutputStreamComponent ENCODESOURCE-
<url>
Set Output Stream Source where <url> is
the URL for the source.
processOutputStreamPropertiesEvent(Prop-
erties)
IOutputStreamComponentListener ENCODEPROP-
<key>,<value>
Output Stream Property value where <key>
is the property key and <value> is the prop-
erty value. One command is returned for
each key.
processOutputStreamSinkAddEvent(URL) IOutputStreamComponentListener ENCODESINKADD-
<url>
Output Stream Sink added where <url> is
the URL of the added sink.
processOutputStreamSinkRe-
moveEvent(URL)
IOutputStreamComponentListener ENCODESINKRE-
MOVE-<url>
Output Stream Sink removed where <url>
is the URL of the removed sink.
processOutputStreamSourceEvent(URL) IOutputStreamComponentListener ENCODESOURCE-
<url>
Output Stream Source changed where
<url> is the URL for the source.
cyclePower() IPowerComponent 9 POWER Momentary Function Channel: Cycle power
when channel is activated
setPower(ON) IPowerComponent 27 PWR_ON Momentary Function Channel: Power is
turned on when channel is activated
setPower(OFF) IPowerComponent 28 PWR_OFF Momentary Function Channel: Power is
turned off when channel is activated
setPower(ps) IPowerComponent 255 POWER_ON Discrete Function Channel: Power is on
while channel is active