@onamfc/video-transcoder
Version:
Backend-agnostic video recording and transcoding module with AWS integration
42 lines • 1.24 kB
TypeScript
import type { RecorderConfig } from '../types';
export interface BrowserSupport {
supported: boolean;
features: {
mediaRecorder: boolean;
getUserMedia: boolean;
webrtc: boolean;
indexedDB: boolean;
serviceWorker: boolean;
};
recommendations?: string[];
deviceType: 'mobile' | 'desktop' | 'tablet';
browserInfo: {
name: string;
version: string;
engine: string;
};
}
export declare class BrowserSupportChecker {
static checkSupport(): Promise<BrowserSupport>;
static detectDeviceType(): 'mobile' | 'desktop' | 'tablet';
static getBrowserInfo(): {
name: string;
version: string;
engine: string;
};
static getRecommendedSettings(deviceType?: 'mobile' | 'desktop' | 'tablet'): Partial<RecorderConfig>;
static testCameraAccess(): Promise<{
hasCamera: boolean;
hasMicrophone: boolean;
devices: MediaDeviceInfo[];
}>;
static testRecordingCapability(): Promise<{
canRecord: boolean;
supportedMimeTypes: string[];
maxResolution?: {
width: number;
height: number;
};
}>;
}
//# sourceMappingURL=browserSupport.d.ts.map