I have a mp3 and a vtt for subtitles. I´m using AVMutableComposition, its working but I don´t need use AVPlayerViewController or AVPlayerLayer because the mp3 is playing in background. Is there some way for getting subtitles while is playing and drawing the subtitles where and how I want such as you can get timed metadata?
I have tested using AVPlayerLayer with clear background but I don´t like that way because have little control over. Other way is parsing manually and use timers for sync but looks like so much work when AVPlayer support vtt subtitles natively