@jellyfish-dev/react-client-sdk
Version:
React client library for Jellyfish.
26 lines • 1.6 kB
TypeScript
export declare const AUDIO_TRACK_CONSTRAINTS: MediaTrackConstraints;
export declare const VIDEO_TRACK_CONSTRAINTS: MediaTrackConstraints;
export declare const SCREEN_SHARING_MEDIA_CONSTRAINTS: MediaStreamConstraints;
export declare const toMediaTrackConstraints: (constraint?: boolean | MediaTrackConstraints) => MediaTrackConstraints | undefined;
export declare const prepareMediaTrackConstraints: (deviceId: string | undefined | boolean, constraints: MediaTrackConstraints | undefined) => MediaTrackConstraints | boolean;
export declare const getExactDeviceConstraint: (constraints: MediaTrackConstraints | undefined, deviceId: string | undefined) => {
deviceId: {
exact: string | undefined;
};
advanced?: MediaTrackConstraintSet[] | undefined;
aspectRatio?: ConstrainDouble | undefined;
autoGainControl?: ConstrainBoolean | undefined;
channelCount?: ConstrainULong | undefined;
displaySurface?: ConstrainDOMString | undefined;
echoCancellation?: ConstrainBoolean | undefined;
facingMode?: ConstrainDOMString | undefined;
frameRate?: ConstrainDouble | undefined;
groupId?: ConstrainDOMString | undefined;
height?: ConstrainULong | undefined;
noiseSuppression?: ConstrainBoolean | undefined;
sampleRate?: ConstrainULong | undefined;
sampleSize?: ConstrainULong | undefined;
width?: ConstrainULong | undefined;
};
export declare const prepareConstraints: (deviceIdToStart: string | undefined, constraints: MediaTrackConstraints | undefined) => MediaTrackConstraints | undefined | boolean;
//# sourceMappingURL=constraints.d.ts.map