ACM200 API DEVELOPMENT
10
www.blustream.co.uk / www.blustream.com.au
Exporting Video Preview Images
The Blustream ACM shows previews of the Transmitter and Receiver signals being disitrbuted allowing you to view what source is
selected and that the sources are active. The preview feature takes an image every several seconds. The image can be exported via
the ACM200 Control port which gives the ability to show video status on third party control products.
The image export feature requires the 3rd party control system to poll the blustream 'mxsta_Ver1.09.json' file (for a sample of this
please contact Blustream technical support). the control system will poll this informaiton using the following link (the below link is
based on default control port IP address of 192.168.0.225):
http://192.168.0.225/cgi-bin/getjson.cgi?json=mxsta
The json file states which Transmitter and Receiver devices have a signal and their IP addess. From this informaiton we can then
generate a poll to get the TX/RX image. The image return file is 'cap.bmp'
For example to get the source preview from a transmitter device:
"in": [{
"id": 3,
"name": "Transmitter 003",
"ol": 1,
"ver": "A1.4.9",
"ip": "169.254.3.3", //this transmitter IP
"gw": "169.254.3.1",
"sm": "255.255.0.0",
"mac": "00:19:FA:00:59:4C",
"em": 0,
"ei": 15,
"aud": 1,
"sig": 1, // 1: means have signal, 0:means no signal
"conn": "HDMI:1",
"discec": 0,
"led": 3,
"sgen": 0,
"sgbr": 9,
"sgbs": 3,
"sgpa": 0,
"sgsb": 0
}],
The polling request is: http://192.168.0.225/cgi-bin/capture.cgi?hostip=169.254.3.3&capwidth=240?time=1547084198222
“time=” is a random value because the browser will return the catch file if the link is the same.
Please note: recalling of the video preview is demanding on the Multicast hardware and may eect system performance.
It is recommended that polling is completed every 5 seconds and that each TX/RX device is not polled at the same time.