@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
26 lines (25 loc) • 1.16 kB
TypeScript
import { HMSAudioTrackSettings } from './HMSAudioTrackSettings';
import { HMSVideoTrackSettings } from './HMSVideoTrackSettings';
import { IAnalyticsPropertiesProvider } from '../../analytics/IAnalyticsPropertiesProvider';
export declare class HMSTrackSettingsBuilder {
private _video;
private _audio;
private _screen;
private _simulcast;
video(video: HMSVideoTrackSettings | null): this;
audio(audio: HMSAudioTrackSettings | null): this;
screen(screen: HMSVideoTrackSettings | null): this;
simulcast(enabled: boolean): this;
build(): HMSTrackSettings;
}
export declare class HMSTrackSettings implements IAnalyticsPropertiesProvider {
readonly video: HMSVideoTrackSettings | null | undefined;
readonly audio: HMSAudioTrackSettings | null | undefined;
readonly screen: HMSVideoTrackSettings | null;
readonly simulcast: boolean;
constructor(video: HMSVideoTrackSettings | null | undefined, audio: HMSAudioTrackSettings | null | undefined, simulcast: boolean, screen?: HMSVideoTrackSettings | null);
toAnalyticsProperties(): {
audio_enabled: boolean;
video_enabled: boolean;
};
}