User Guide

93
Standard NetLinx API (SNAPI) R 1.8.0
Output Stream
Component
Name: Output Stream
Interface: IOutputStreamComponent
IOutputStreamComponent
Component Functions:
Name: Channel: Level: Command: Constant: Notes:
addOutputStream-
Sink(cURISink)
ENCODESINKADD-<url> Add an Output Stream Sink where <url> is the URL of the sink to be added.
getOutputStreamSinks() ?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.
getOutputStream-
Source()
?ENCODESOURCE-<url> Query for Output Stream Source, responds with ENCODESOURCE-<url> where <ur>
is the URL for the source.
queryOutputStreamProp-
erties()
?ENCODEPROPS Query for all Output Stream Media Properties, responds with multiple ENCODEPROP-
<key>,<value>, one for each property, where <key> is the property key and <value> is
the property value.
queryOutputStreamProp-
erty(sName)
?ENCODEPROP-<key> Query for one Output Stream Media Properties, responds with ENCODEPROP-
<key>,<value> where <key> is the property key and <value> is the property value.
removeOutputStream-
Sink(cURISink)
ENCODESINKREMOVE-<url> Remove an Output Stream Sink where <url> is the URL of the sink to be removed.
setOutputStreamProp-
erty(sName,sValue)
ENCODEPROP-<key>,<value> Set an Output Stream Property where <key> is the property key and <value> is the
property value.
setOutputStream-
Source(cURISource)
ENCODESOURCE-<url> Set Output Stream Source where <url> is the URL for the source.
Listener
Name: Output Stream Listener
Interface: IOutputStreamComponentListener
IOutputStreamComponentListener
Listener Functions:
Name: Channel: Level: Command: Constant: Notes:
processOutputStream-
PropertiesEvent
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.
processOutputStream-
SinkAddEvent
ENCODESINKADD-<url> Output Stream Sink added where <url> is the URL of the added sink.
processOutputStream-
SinkRemoveEvent
ENCODESINKREMOVE-<url> Output Stream Sink removed where <url> is the URL of the removed sink.
processOutputStream-
SourceEvent
ENCODESOURCE-<url> Output Stream Source changed where <url> is the URL for the source.