react-native-audio-api
Version:
react-native-audio-api provides system for controlling audio in React Native environment compatible with Web Audio API specification
13 lines (11 loc) • 418 B
text/typescript
import { NativeAudioAPIModule } from '../specs';
/**
* Returns whether the native build includes FFmpeg.
*
* When `false`, streaming, remote URL metadata, several decode/playback paths,
* M4A concatenation, and Android non-WAV recording are unavailable. See the
* runtime flags docs for the full feature matrix.
*/
export function isFfmpegEnabled(): boolean {
return NativeAudioAPIModule.isFfmpegEnabled();
}