@homebridge/camera-utils
Version:
Utilities to simplify homebridge camera plugin development
10 lines • 451 B
TypeScript
import { Buffer } from 'node:buffer';
export interface SrtpOptions {
srtpKey: Buffer;
srtpSalt: Buffer;
}
export declare function encodeSrtpOptions({ srtpKey, srtpSalt }: SrtpOptions): string;
export declare function decodeSrtpOptions(encodedOptions: string): SrtpOptions;
export declare function createCryptoLine(srtpOptions: SrtpOptions): string;
export declare function generateSrtpOptions(): SrtpOptions;
//# sourceMappingURL=srtp.d.ts.map