Setting The Audio Mode; Sending Cec Commands Towards The Source - Lightware MX2-8x8-DH-4DPio-A User Manual

Multimedia matrix switcher
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 bits of the CEC command are static (always 04), they refer 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 appear 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.9.0 | LDC software: v2.6.2b3
MX2 Standalone Matrix Switcher series – User's Manual
Step 2 – Calling 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 following are accepted as <command>:
image_view_on
down
contents_menu
number_1
number_6
enter
input_select
volume_up
play
fast_forward
stop_record
select_media_1
power_toggle
f2
standby
ok
left
right
root_menu
favorite_menu
media_top_menu
media_context_menu
number_2
number_3
number_4
number_7
number_8
number_9
clear
channel_up
channel_down
display_info
power_legacy
volume_down
mute_toggle
stop
pause
eject
skip_forward
skip_backward
pause_record
play_forward
play_reverse
select_media_2
select_media_3
select_media_4
power_on
power_off
stop_function
f3
f4
85
back
up
setup_menu
number_0
number_5
dot
sound_select
page_up
page_down
mute
unmute
record
rewind
3d_mode
select_next_
media
select_media_5
f1

Advertisement

Table of Contents
loading

Table of Contents