VideoStreamInfoExtension<T extends VideoStreamInfo> extension

Extensions for Iterables of VideoStreamInfo

on

Properties

bestQuality → T
Gets the stream with best video quality.
no setter

Methods

getAllVideoQualities() Set<VideoQuality>
Gets all video qualities available in a collection of video streams.
getAllVideoQualitiesLabel() Set<String>
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>
Gets the video streams sorted by highest video quality (then by framerate) in ascending order. This returns new list without editing the original list.