public class SSAISourceSelector extends java.lang.Object implements SourceSelector
Constructor and Description |
---|
SSAISourceSelector() |
Modifier and Type | Method and Description |
---|---|
Source |
selectSource(Video video)
Determines best appropriate Source within given Video object based on logic implemented.
|
@NonNull public Source selectSource(@NonNull Video video) throws NoSourceFoundException
selectSource
in interface SourceSelector
video
- Video in which to find the most appropriate Sourcejava.lang.IllegalArgumentException
- when the Video passed is nullNoSourceFoundException
- when no valid Source
is found