com.brightcove.player.controller

## 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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Source` | `selectSource(Video video)` Determines best appropriate Source within given Video object based on logic implemented.

- - ### Method Detail

    - #### 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