@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
12 lines (9 loc) • 306 B
text/typescript
export interface HMSMediaStreamPlugin {
/**
* The name is meant to uniquely specify a plugin instance. This will be used to track number of plugins
* added to the track, and same name won't be allowed twice.
*/
getName(): string;
apply(stream: MediaStream): MediaStream;
stop(): void;
}