@100mslive/hms-video-store
Version:
@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow
16 lines (15 loc) • 607 B
TypeScript
import { HMSMediaStreamPlugin } from './HMSMediaStreamPlugin';
import { EventBus } from '../../events/EventBus';
import Room from '../../sdk/models/HMSRoom';
export declare class HMSMediaStreamPluginsManager {
private readonly TAG;
private analytics;
readonly plugins: Set<HMSMediaStreamPlugin>;
private room?;
constructor(eventBus: EventBus, room?: Room);
addPlugins(plugins: HMSMediaStreamPlugin[]): void;
removePlugins(plugins: HMSMediaStreamPlugin[]): void;
applyPlugins(inputStream: MediaStream): MediaStream;
getPlugins(): string[];
cleanup(): Promise<void>;
}