Skip to content

grandi / find

Function: find()

find(params?): Promise<Finder>

Defined in: index.ts:174

Creates a finder to discover NDI sources on the network.

Parameters

params?

FindOptions = {}

Options for finding sources.

Returns

Promise<Finder>

A promise that resolves to a Finder instance for discovering sources.

Throws

Promise rejects on unsupported platform/CPU or if the finder cannot be created.

Example

js
import { find, initialize } from "grandi";
initialize();
const finder = await find({ showLocalSources: true });
await finder.wait(1000);
console.log(finder.sources());
finder.destroy();

Apache-2.0 licensed. NDI is a trademark of Vizrt NDI AB.