7. Lightware REST API Reference
UCX series – User's Manual
85
Applied firmware package: v1.2.0b9 | LDC software: v2.5.10b1
7.9.12.
Setting the Balance
Request and Response
#balance
ɯ
header:
POST·http://
<ip>
/api/V1/MEDIA/AUDIO/O3/Balance·HTTP/1.1
ɯ
body:
<level>
ɮ
header:
200 OK
ɮ
body:
<level>
Parameters
The
<level>
parameter sets the balance; -100 means left balance, 100 means right balance, step is 1. Center
is 0 (default).
Example
ɯ
header:
POST http://192.168.0.50/api/V1/MEDIA/AUDIO/O3/Balance HTTP/1.1
ɯ
body: 0
ɮ
header:
200 OK
ɮ
body: 0
7.9.13.
Analog Audio Output Level Settings by Steps (dB)
Request and Response
#analogaudio #volume
ɯ
header:
POST·http://
<ip>
/api/V1/MEDIA/AUDIO/O3/stepVolumedB·HTTP/1.1
ɯ
body:
<step>
ɮ
header:
200 OK
ɮ
body:
<step>
Parameters
The volume is increased or decreased with the given
<step>
value in dB.
Example
ɯ
header:
POST http://192.168.0.50/api/V1/MEDIA/AUDIO/O3/stepVolumedB HTTP/1.1
ɯ
body: -1
ɮ
header:
200 OK
ɮ
body: OK
The volume is decreased with 1 dB, the current volume is -1.95 dB which means 77.84% in percent.
7.9.14.
Analog Audio Output Level Settings by Steps in Percent
Request and Response
ɯ
header:
POST·http://
<ip>
/api/V1/MEDIA/AUDIO/O3/stepVolumePercent·HTTP/1.1
ɯ
body:
<step>
ɮ
header:
200 OK
ɮ
body:
<step>
Parameters
The volume is increased or decreased by the given
<step>
value in percent.
Example
ɯ
header:
POST http://192.168.0.50/api/V1/MEDIA/AUDIO/O3/stepVolumePercent HTTP/1.1
ɯ
body: 5
ɮ
header:
200 OK
ɮ
body: OK
7.9.15.
Analog Audio Output Balance by Steps
Request and Response
ɯ
header:
POST·http://
<ip>
/api/V1/MEDIA/AUDIO/O3/stepBalance·HTTP/1.1
ɯ
body:
<step>
ɮ
header:
200 OK
ɮ
body:
<step>
Parameters
The volume is increased or decreased by the given
<step>
value.
Example
ɯ
header:
POST http://192.168.0.50/api/V1/MEDIA/AUDIO/O3/stepBalance HTTP/1.1
ɯ
body: 5
ɮ
header:
200 OK
ɮ
body: OK