Skip to content

grandi / send

Function: send()

send(params): Promise<Sender>

Defined in: index.ts:237

Creates an NDI sender for transmitting video and audio over the network.

Parameters

params

SendOptions

Options for creating the sender.

Returns

Promise<Sender>

A promise that resolves to a Sender instance for transmitting data.

Throws

Promise rejects on unsupported platform/CPU or if sender creation fails.

Example

js
import { initialize, send } from "grandi";
initialize();
const sender = await send({ name: "My Source" });
// sender.video(...) / sender.audio(...)
sender.destroy();

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