beautypg.com

ClearOne StreamNet Integration User Manual

Page 34

background image

28

Technical Sales: 1.800.705.2103

C

ommaNd

: #mute off

Commands a Renderer Service to set Mute to the OFF state.
Example: #@Room 1 Player:~UDP10.15.0.11_5000#mUTE OFF

C

ommaNd

: #mute oN

Commands a Renderer Service to set Mute to the ON state.
Example: #@Room 1 Player:~UDP10.15.0.11_5000#mUTE ON

C

ommaNd

: #mute toggle

Commands a Renderer Service to Toggle the state of Mute.
Example: #@Room 1 Player:~UDP10.15.0.11_5000#mUTE TOGGLE

C

ommaNd

: #query renderer

Query the settings for current Audio Source being Rendered.
Example: #@Room 1 Player:~UDP10.15.0.11_5000#qUERy renderer

NOTE

f

: A #qUERy command is interrogative and gets a declarative response #REPORT.

The #qUERy RENDERER gets a report indicating the current settings for the Audio Source
being rendered.

Sample response:
#@SL22004280001161000057_4~UDP10.15.0.11_4881:Room 1 Player#REPORT {{vol=”29” balance=”50” bass=”50” treb=”50” loud=”0” mute=”0” audioSession=”All Rooms Multiroom”
audioSessionActive=”1” ampOn=”1” />}}

P

arSINg

r

ePortS

NOTE

f

: Even though the format looks like XML, it isn’t. The report will always be flat (i.e., no

nested <> brackets).

The order of the attributes may change. Some may be added or omitted in any given #REPORT message.
Parsing of the message should key off the attribute name. For example, for “balance”, a suggested parsing
method would be to scan for “=”. The attribute name is to the left of “=” and the value is to the right. The
fromAddress (i.e., Room 1 Player) should be used to qualify the report before accepting the other data attri-
butes (i.e., Room 1 Player). Validate the origin of the message before storing or using the reported status.

NOTE

f

: The data may be distributed among multiple #REPORT messages even if the

report(s) is the result of a single #QUERY message.

C

ommaNd

: #query CurreNt_SourCe

Queries the current Audio Sources being Rendered.
Example: #@Room 2 Player:~UDP10.15.0.11_5000#qUERy CURRENT_SOURCE
Response Received:
#@TL3800538001161007532_1~UDP10.15.0.11_2230:Room 2 Player#REPORT {{currentSource=”myXM” currentSourceIP=”10.15.96.149” permId=”MLA10105151001161008019_1” />}}

NOTE

f

: Room 2 Player is currently rendering an Audio Source called “myXM”.

C

ommaNd

: #Set