The τ Player API

isDecoderSupported()

isDecoderSupported()

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

Example:

Dart

Javascript


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

        Lorem ipsum ...

</div>

Last updated