@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) • 564 B
TypeScript
import { Store } from '../sdk/store';
/**
* Check only for presence(not truthy) of a value.
* Use in places where 0, false need to be considered valid.
*/
export declare function isPresent(value: any): boolean;
/**
* checks if RTCPeerConnection constructor is available
*/
export declare const validateRTCPeerConnection: () => void;
/**
* navigator.mediaDevices is undefined in insecure contexts served over HTTP protocol
*/
export declare const validateMediaDevicesExistence: () => void;
export declare const validatePublishParams: (store: Store) => void;