Interface SourceSelector

All Known Implementing Classes:
BrightcoveSourceSelector, DefaultSourceSelectionController, ExoPlayerSourceSelectionController, ExoPlayerSourceSelector, HlsSourceSelector, SSAISourceSelector

public interface SourceSelector
Defines methods provided by any class that allows for selection of a Source within a Video object by some set of rules or logic.
  • Method Summary

    Modifier and Type
    Method
    Description
    Determines best appropriate Source within given Video object based on logic implemented.
  • Method Details

    • selectSource

      @NonNull Source selectSource(@NonNull Video video) throws NoSourceFoundException
      Determines best appropriate Source within given Video object based on logic implemented.
      Parameters:
      video - Video in which to find the most appropriate Source
      Returns:
      the best matched Source based on the currently implemented selection logic
      Throws:
      NoSourceFoundException - when no valid Source is found