UNPKG

543 BTypeScriptView Raw
1/**
2 * Get string name of provided input
3 */
4export declare function getInputName(streamName: string, sourceName: string): string;
5/**
6 * Maintains list of registered inputs
7 */
8declare class InputRegistry {
9 inputs: {
10 [inputName: string]: boolean;
11 };
12 constructor();
13 add(streamName: string, sourceName: string): string;
14 remove(streamName: string, sourceName: string): string;
15 getInputs(): Array<{
16 stream: string;
17 source: string;
18 inputName: string;
19 }>;
20}
21export default InputRegistry;