Setting The Audio Mode; Sending Cec Commands Towards The Source - Lightware MX2-4x4-HDMI20-CA User Manual

Multimedia matrix switcher
Hide thumbs Also See for MX2-4x4-HDMI20-CA:
Table of Contents

Advertisement

 
9. LW3 Programmers' Reference
9.5.13. Setting the Audio Mode
Command and Response
#audio #analogaudio
SET·/MEDIA/PORTS/VIDEO/<in>/EMBEDDEDAUDIO.AudioMode=<audio_mode>
Ý
pw·/MEDIA/PORTS/VIDEO/<in>/EMBEDDEDAUDIO.AudioMode=<audio_mode>
Ü
Parameters
Identifier
Parameter description
<audio_mode>
The current audio mode OFF: no audio in the video stream
Example
Ý SET /MEDIA/PORTS/VIDEO/I1/EMBEDDEDAUDIO.AudioMode=OFF
Ü pw /MEDIA/PORTS/VIDEO/I1/EMBEDDEDAUDIO.AudioMode=OFF
INFO: In case of -A or -Audio suffixed models, modifying the /MEDIA/PORTS/VIDEO/<in>/EMBEDDEDAUDIO.
AudioMode=<audio_mode>
property will change the /MEDIA/PORTS/VIDEO/<in>/ANALOGAUDIO.
AudioMode=<audio_mode>
property.
9.5.14. Sending CEC Commands Towards the Source
INFO: The hidden first 2 bit of the CEC command is static (always 04), it refers to the logical address of
the sender and the addressee. 0: sender is a TV; 4: the addressee is the Playback Device 1.
9.5.14.1. Sending an OSD String
Sending the OSD string consists of two steps. First, set the CEC.OsdString property with the desired text,
after that, call the CEC.send(set_osd) method.
Step 1 – Setting the CEC.OsdString Property
Command and Response
SET·/MEDIA/PORTS/<in>/CEC.OsdString=<text>
Ý
pw·/MEDIA/PORTS/<in>/CEC.OsdString=<text>
Ü
The following characters are allowed as
numbers (0-9), and dot (.). Max length: 14 characters.
Example
Ý SET /MEDIA/PORTS/VIDEO/I1/CEC.OsdString=Lightware
Ü pw /MEDIA/PORTS/VIDEO/I1/CEC.OsdString=Lightware
Parameter values
HDMI: the original audio is embedded in the video stream
ANALOG *: the analog audio of the input port is embedded in
the video stream
*Analog audio properties appears only in -Audio suffixed models,
where there is an analog audio port beside the HDMI port.
#cec
<text>
parameter: Letters (A-Z) and (a-z), hyphen (-), underscore (_),
Applied firmware package: v1.7.0 | LDC software: v2.5.1b5
MX2-HDMI20 series – User's Manual
Step 2 – Call the CEC.send(set_osd) method
Command and Response
Ý CALL·/MEDIA/PORTS/VIDEO/<in>/CEC:send(set_osd)
Ü mO·/MEDIA/PORTS/VIDEO/<in>/CEC:send=OK
Example
Ý CALL /MEDIA/PORTS/VIDEO/I1/CEC:send(set_osd)
Ü mO /MEDIA/PORTS/VIDEO/I1/CEC:send=OK
9.5.14.2. Sending a CEC Command in Text Format
Command and Response
Ý CALL·/MEDIA/PORTS/VIDEO/<in>/CEC:send(<command>)
Ü mO·/MEDIA/PORTS/VIDEO/<in>/CEC:send=OK
Example
Ý CALL /MEDIA/PORTS/VIDEO/I1/CEC:send(power_on)
Ü mO /MEDIA/PORTS/VIDEO/I1/CEC:send=OK
The followings are accepted as <command>:
image_view_on
standby
down
contents_menu
favorite_menu
number_1
number_2
number_6
number_7
enter
input_select
display_info
volume_up
volume_down
play
fast_forward
stop_record
pause_record
select_media_1
select_media_2
power_toggle
power_on
f2
ok
back
left
right
root_menu
media_top_menu
media_context_menu
number_3
number_4
number_8
number_9
clear
channel_up
channel_down
power_legacy
page_up
mute_toggle
mute
stop
pause
record
eject
skip_forward
skip_backward
play_forward
play_reverse
select_media_3
select_media_4
power_off
stop_function
f3
f4
84
up
setup_menu
number_0
number_5
dot
sound_select
page_down
unmute
rewind
3d_mode
select_next_
media
select_media_5
f1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents