selectForAndroid static method

ByteArkPlayerSource selectForAndroid(
  1. List<ByteArkPlayerSource> sources
)

Selects the first source Android can play — drm == nulldrm is WidevineDrm. Throws NoCompatibleSourceException if no source matches.

Implementation

static ByteArkPlayerSource selectForAndroid(
  List<ByteArkPlayerSource> sources,
) =>
    _selectFirstMatch(sources, _matchesAndroid, 'Widevine');