7. Lightware REST API Reference
UCX series – User's Manual
80
Applied firmware package: v1.2.0b9 | LDC software: v2.5.10b1
Example
ɯ
header:
POST http://192.168.0.50/api/V1/MEDIA/VIDEO/O1/HDCP/HdcpMode HTTP/1.1
ɯ
body: Auto
ɮ
header:
200 OK
ɮ
body: Auto
7.6.14. Query Embedded Audio Presence
ɯ
header:
GET·http://
<ip>
/api/V1/MEDIA/VIDEO/
<port>
/EmbeddedAudioPresent·HTTP/1.1
ɮ
header: 200·OK
ɮ
body:
<embedded_state>
Parameters
Parameter
Parameter description
Values
Value description
<embedded_state>
It shows if the video
contains audio or not.
true
There is embedded audio in the video signal.
false
There is no embedded audio in the video signal.
Example
ɯ
header:
GET http://192.168.0.50/api/V1/MEDIA/VIDEO/I2/EmbeddedAudioPresent HTTP/1.1
ɮ
header:
200 OK
ɮ
body: true
7.6.15.
Mute Embedded Audio
ɯ
header:
POST·http://
<ip>
/api/V1/MEDIA/VIDEO/
<port>
/EmbeddedAudioMute·HTTP/1.1
ɯ
body:
<mute_state>
ɮ
header:
200 OK
ɮ
body:
<mute_state>
Parameters
Parameter
Parameter description
Values
Value description
<mute_state>
It shows if the
embedded audio is
muted or not.
true
The embedded audio is muted.
false
The embedded audio is unmuted.
Example
ɯ
header:
POST http://192.168.0.50/api/V1/MEDIA/VIDEO/O1/EmbeddedAudioMute HTTP/1.1
ɯ
body: false
ɮ
header:
200 OK
ɮ
body: false
7.6.16.
Set Output Signal Type
Request and Response
#signaltype
ɯ
header:
POST·http://
<ip>
/api/V1/MEDIA/VIDEO/
<out>
/OutputSignalType·HTTP/1.1
ɯ
body:
<signal_type>
ɮ
header:
200 OK
ɮ
body:
<signal_type>
Parameters
Parameter
Parameter description
Values
Value description
<signal_type>
Signal type setting
Auto
The outgoing signal type is HDMI.
DVI
The outgoing signal type is DVI.
Example
ɯ
header:
POST http://192.168.0.50/api/V1/MEDIA/VIDEO/O1/OutputSignalType HTTP/1.1
ɯ
body: Auto
ɮ
header:
200 OK
ɮ
body: Auto
7.6.17.
Turn on Output 5V
The 5V power towards the sink can be enabled or disabled as follows:
Request and Response
ɯ
header:
POST·http://
<ip>
/api/V1/MEDIA/VIDEO/
<out>
/Output5VMode·HTTP/1.1
ɯ
body:
<5V_pwr>
ɮ
header:
200 OK
ɮ
body:
<5V_pwr>
Parameters
Parameter
Parameter description
Value
Value description
<5V_pwr>
5V power towards the sink
On
Off
Enable 5V power on HDMI port
Disable 5V power on HDMI port
Example
ɯ
header:
POST http://192.168.0.50/api/V1/MEDIA/VIDEO/O1/Output5VMode HTTP/1.1
ɯ
body: On
ɮ
header:
200 OK
ɮ
body: On