selectSource
Determines best appropriate Source within given Video object based on logic implemented.
Throws
when the Video passed is null
Attempts to select the HTTPS source included in the source Set, if available. Otherwise, it will select the first source given by the Set Iterator.
It will return null if the sources Set is null or empty.
Return
the selected source
Parameters
sources
the source Set representing the same media with different protocols, for example, HTTP and HTTPS.