StreamInfoIterableExt<T extends StreamInfo> extension
Extension for Iterables of StreamInfo.
- on
-
- Iterable<
T>
- Iterable<
Methods
-
describe(
) → String - Print a formatted text of all the streams. Like youtube-dl -F option.
-
sortByBitrate(
) → List< T> - Gets the video streams sorted by bitrate in ascending order. This returns new list without editing the original list.
-
withHighestBitrate(
{String? language}) → T - Gets the stream with highest bitrate.