How to use axis-discovery-ssdp - 1 common examples

To help you get started, we’ve selected a few axis-discovery-ssdp examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github FantasticFiasco / searchlight / src / main / discovery / discoveries / mock-discovery.ts View on Github external
private createDevice(
        address: string,
        macAddress: string,
        friendlyName: string,
        modelName: string,
        modelDescription: string,
        modelNumber: string): Device {
        const port = Math.random() > 0.5 ? 80 : 443;
        return new Device(
            address,
            port,
            macAddress,
            friendlyName,
            modelName,
            modelDescription,
            modelNumber,
            `http://${address}:${port}/`);
    }
}

axis-discovery-ssdp

A Node.js SSDP (UPnP) client library written in TypeScript capable of searching for Axis Communication cameras.

Apache-2.0
Latest version published 2 years ago

Package Health Score

55 / 100
Full package analysis

Popular axis-discovery-ssdp functions