isDecoderSupported()

The τ Player API


isDecoderSupported()

This verb is useful to know if a particular codec is supported on the current platform. Returns a Future.

Example:

         if ( await myPlayer.isDecoderSupported(Codec.opusOGG) ) doSomething;
        Lorem ipsum ...

Tags: api player