I need to find which audio and subtitle tracks are served with video stream. It's possible to set correct track thru audio-track / sub-track and everything works when track is available.
But how can I find out the tracks that are available? I found options key-audio-track / key-subtitle-track for cycling thru the available tracks, but this doesn't seem to help. How are the available tracks returned or, in addition, how can I collect them?