Programming
92
Modero G4 Touch Panels - Configuration & Programming Manual
Streaming Video, MXA-MP, and MXA-MPL Commands
The following are NetLinx commands that control streaming video output, as well as coordinate video output to a Modero G4 touch
panel from an MXA-MP Multi Preview or MXA-MPL Multi Preview Live video breakout box.
NOTE:
The command prefix for all MXA-MP/L commands is "^SLT-1" to match legacy Break Out Box video "slot" syntax. For Modero
G4 panels, Slot 1 (the only supported slot) always refers to the MXA-MP/L.
Streaming Video, MXA-MP/MPL Commands
^DMM
Streaming audio/video mute.
•
Syntax
:
'"'^DMM-<audioMute>,<videoMute>,<url>'"
•
Variables
:
audioMute = mutes the audio for <url>: 0: Un-mute, 1: Mute
url = a valid ^SDM url that is already in the playing state.
•
Examples
:
^DMM-1,0,udp://224.1.1.1:1234
Mute audio.
^DMM-0,0,udp://224.1.1.1:1234
Unmute audio.
^SDM
Starts or stops a streaming session. Stream starts if a valid URL is specified and stops if server URL string is empty (or invalid). If
the streaming session is with the MXA-MPL, this command also starts/stops the encoding on the MXA-MPL (i.e. a separate ^SLT
command is not necessary).
URL must adhere to the syntax:
- udp://<ip or hostname>:<portNumber> where IP could be 0.0.0.0 (unicast), or multicast address and port number.
Port number must be an unused port from 1-65535
- http://<ip or hostname>/url for motion jpeg
- cam://local for activating the camera
Examples
:
SEND_COMMAND 10001:2:0, ‘^SDM-10,2,udp://234.4.0.4:5500’ ;#
Sets ON state to play video on multicast address
SEND_COMMAND 10001:2:0, ‘^SDM-10,1,cam://local’ ;#
Sets OFF state to play camera
SEND_COMMAND 10001:2:0, ‘^SDM-10,1,stop’ ;#
Stop playing the current video
SEND_COMMAND 10001:2:0, ‘^SDM-10,1,’ ;#
Stop playing the current video
^SLT
MXA-MP and MXA-MPL Command Set
Syntax
:
"'^SLT-<device>,<subcommand>'"
Examples
:
^SLT-1,reboot=<current(default),previous,factory>
Variables
:
Device = 1 (Device is always 1 for the MXA-MP and MXA-MPL, the only device type currently supported by Modero G4 panels)
Subcommands
:
Reboot the MXA-MP/L. If "current" is used, or if no parameter is given, it is a simple reboot. Other parameters can tell the MP/L
to change firmware loads as follows:
current - simple reboot (default)
previous - reboot and revert the MXA-MP/L the previously installed firmware
factory - reboot and revert the MXA-MP/L to the factory installed version.
^SLT-1,reboot=<current(default),previous,factory>
MXA-MPL Audio/video enable command. Sets the option to enable video, or both audio and video on subsequent streams from
the MXA-MPL.
^SLT-1,audiovideoenable=<video(default)|both>
Note: this command will take effect on the next Stream start. It can still be overridden in the ^SLT-1,start command.
Set format, resolution and rate for MXA-MPL video, where:
format = <hdmi|dvi>
Resolution = <horizontal>x<vertical><i|p>@<rate>
^SLT-1,videomode=<format>,<resolution>
Turn on/off video input to the MXA-MPL.