VideoStreamInfoExtension<T extends VideoStreamInfo> extension

Extensions for Iterables of VideoStreamInfo

on

Properties

bestQuality → T

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

Gets the stream with best video quality.
no setter

Methods

getAllVideoQualities() Set<VideoQuality>

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

Gets all video qualities available in a collection of video streams.
getAllVideoQualitiesLabel() Set<String>

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

Gets video quality labels of all streams available in a collection of video streams. This could be longer than getAllVideoQualities since this gives also all the different framerate values.
sortByVideoQuality() List<T>

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

Gets the video streams sorted by highest video quality (then by framerate) in ascending order. This returns new list without editing the original list.