workano-js-sdk
Version:
Workano Communications SDK - A modern JavaScript SDK for WebRTC and VoIP integration.
13 lines • 475 B
TypeScript
import type Participant from './Participant';
declare class Stream {
htmlStream: MediaStream;
participant: Participant | undefined;
static detachStream(stream: MediaStream): void;
constructor(htmlStream: MediaStream, participant?: Participant);
attach(rawElement: HTMLVideoElement | null | undefined): HTMLVideoElement;
detach(): void;
hasVideo(): boolean;
get id(): string | null;
}
export default Stream;
//# sourceMappingURL=Stream.d.ts.map