UNPKG

react-audio-recorder-hook

Version:

A powerful TypeScript-based React hook that provides complete audio recording capabilities with pause/resume functionality, recording management, and audio processing

47 lines 1.57 kB
/** * Utility functions for browser compatibility detection */ /** * Check if MediaRecorder is supported in the current browser */ export declare function isMediaRecorderSupported(): boolean; /** * Check if getUserMedia is supported in the current browser */ export declare function isGetUserMediaSupported(): boolean; /** * Check if the AudioContext API is supported */ export declare function isAudioContextSupported(): boolean; /** * Check if the specified MIME type is supported for recording */ export declare function isMimeTypeSupported(mimeType: string): boolean; /** * Check if the current browser is iOS */ export declare function isIOS(): boolean; /** * Get the best supported MIME type for the current browser */ export declare function getBestSupportedMimeType(): string; /** * Comprehensive check if audio recording is fully supported */ export declare function isAudioRecordingSupported(): boolean; /** * Check if the current browser is mobile */ export declare function isMobileBrowser(): boolean; declare const _default: { isMediaRecorderSupported: typeof isMediaRecorderSupported; isGetUserMediaSupported: typeof isGetUserMediaSupported; isAudioContextSupported: typeof isAudioContextSupported; isMimeTypeSupported: typeof isMimeTypeSupported; getBestSupportedMimeType: typeof getBestSupportedMimeType; isAudioRecordingSupported: typeof isAudioRecordingSupported; isMobileBrowser: typeof isMobileBrowser; isIOS: typeof isIOS; }; export default _default; //# sourceMappingURL=browserSupport.d.ts.map