StreamInfoIterableExt<T extends StreamInfo> extension

Extension for Iterables of StreamInfo.

on

Methods

describe() String

Available on Iterable<T>, provided by the StreamInfoIterableExt extension

Print a formatted text of all the streams. Like youtube-dl -F option.
sortByBitrate() List<T>

Available on Iterable<T>, provided by the StreamInfoIterableExt extension

Gets the video streams sorted by bitrate in ascending order. This returns new list without editing the original list.
withHighestBitrate({String? language}) → T

Available on Iterable<T>, provided by the StreamInfoIterableExt extension

Gets the stream with highest bitrate.