Multi subtitles in video url

Hi.
Im creating an app that will play video from urls. Some videos have embedded (internal) subtitles in the mkv file. how can I detect that and choose one of the subtitles to display it?

Currently, only an external subtitle in the form of .vtt (WebVTT) is officially supported, and no APIs for selecting/switching subtitle tracks are provided. Sorry for not being helpful.