Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This interface contains confugration data related to the video input.

  • [bool] enableAC3enableAc3: A flag specifying whether AC-3 is supported
  • [bool] enableEAC3enableEac3: A flag specifying whether E-AC-3 is supported
  • [bool] enableTrueHDMlpenableTrueHdMlp: A flag specifying whether TrueHD MLP is supported
  • [bool] enableDTSenableDts: A flag specifying whether DTS is supported
  • [bool] enableDTSHDenableDtsHd: A flag specifying whether DTS-HD is supported
  • [int] maxSampleRate: The maximum supported PCM audio sampling rate in Hz (e.g. the default sampling rate is 48000)
  • [int] maxChannelCount: The number of PCM channels that are advertised over EDID. The default value is 2, which allows for stereo mixdown. Increasing this value to 6 allows the source to send multichannel PCM.

    Note
    titleNote

    If AC-3 or E-AC-3 is enabled on the player, multichannel audio is supported regardless of the maxChannelCount setting. 


  • [DOMString] lockAudioTo: A value specifying whether the audio sample rate clock is locked to the video clock ("video") or audio clock ("audio") of the incoming HDMI signal. The determination can also be left to the system software ("auto").

...

Code Block
languagejs
var VideoInputClass = require("@brightsign/videoinput");
var vi = new VideoInputClass();


var inputConfig = {};
inputConfig.enableAc3 = true;

vi.applyConfig(inputConfig).then(
        function(data) {
            if (data.rebootRequired === true) {
                system.reboot();
            } else {
                console.log("Reboot not required.")
            }
        })
    .catch(
        function(data) {
            console.log(JSON.stringify(data));
        });

vi.getConfig().then(
        function(data) {
            console.log("***Current Config***");
            console.log(JSON.stringify(data));
        })
    .catch(
        function(data) {
            console.log(JSON.stringify(data));
        });