detect-audio-video
Version:
Detect audio and video features in browser
10 lines (9 loc) • 314 B
TypeScript
export declare function isWebRTCSupported(): boolean;
export declare function getWebRTCVideoCodecs(onlyMedia?: boolean): {
encoding: RTCRtpCodec[];
decoding: RTCRtpCodec[];
};
export declare function getWebRTCAudioCodecs(onlyMedia?: boolean): {
encoding: RTCRtpCodec[];
decoding: RTCRtpCodec[];
};