selectForIOS static method

ByteArkPlayerSource selectForIOS(
  1. List<ByteArkPlayerSource> sources
)

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

Implementation

static ByteArkPlayerSource selectForIOS(
  List<ByteArkPlayerSource> sources,
) =>
    _selectFirstMatch(sources, _matchesIOS, 'FairPlay');