current property
Currently loaded Medias. This is used to prevent additional data stored in Media from being garbage collected.
In summary, after loading a Media uri into libmpv, playlist
is used to observe any changes & notify event Stream.
When receiving playlist
, the URIs are looked up internally to fetch Media.extras & Media.httpHeaders etc.
Implementation
final HashSet<Media> current = HashSet<Media>();