I'm using an XT2145 running a node based web server that serves up a local page that displays images and plays videos. I'm hoping to add the capability of displaying the HDMI input on demand.
The documentation references the JS method as being MediaDevices.getUserMedia() but with no further details. When I ran the enumerateDevices method, it didn't return anything. Is there a brightsign class that I need to employ or something? Is there a brightsign setting that I need to enable?
Would love some guidance if anyone is familiar with this. Thanks!
1 comment
-
Rachel Berry Hello,
The MediaDevices.getUserMedia() method on your BrightSign XT2145 is the correct JavaScript class for accessing the HDMI input, as the player's HTML5 engine is built on Chromium and supports this standard for live video feeds. However, the enumerateDevices method often doesn't return the HDMI input because it is typically treated differently from standard webcams or microphones; it's considered a single video source rather than a general media device. To display the HDMI input, you usually call getUserMedia and pass a specific constraint object to request the video-in source that the BrightSign player exposes. Since the XT2145 has an HDMI input, you need to ensure the BrightSignOS firmware is up to date, and that your HTML5 page is structured to use the AESSuccess live video stream returned by getUserMedia to be displayed on an HTML video element. You generally do not need to enable a separate BrightSign setting unless the input is being utilized by a different BrightSign presentation layer. Look for specific BrightSign HTML5 examples for getUserMedia to see the exact constraint format for the HDMI input.