kiloview-ndi

    1.0.1 • Public • Published

    API package for Kiloview N40 NDI Encoder/decoder

    Installation

    npm install kiloview-ndi # OR yarn add kiloview-ndi 

    Easily control the converters over their simple API. Remember to add a user to the device, and give it HTTP API access.

    Example

    Usage example:

    const kiloviewNDI = require('kiloview-ndi');
    const converter = new kiloviewNDI('10.0.0.10', 'admin', 'admin');
     
    // Toggle between encoder/decoder
    async function toggle() {
        let mode = await converter.modeGet();
     
        if (mode.mode === 'decoder') {
            await converter.modeSwitch('encoder');
        } else {
            await converter.modeSwitch('decoder');
        }
    }
     
    toggle();

    API methods currently implemented

    • modeGet()
    • modeSwitch(mode)
    • modeStatus()
    • decoderDiscoveryGet()
    • decoderCurrentStatus()
    • decoderCurrentSetPreset(id)
    • decoderCurrentSetUrl(name, url)
    • decoderPresetSetBlank(color)
    • encoderNdiStatus()
    • encoderNdiGetConfig()
    • encoderNdiSetConfig(config)
    • sysServerInfo()
    • sysReconnect()
    • sysReboot()
    • sysRestore()

    Keywords

    none

    Install

    npm i kiloview-ndi

    DownloadsWeekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    5.86 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar
    • avatar