Our `TextParser` interface has 4-parameters `parseMedia()` signature, but not all implementations follow it, so align it. Additional small optimizations in `SrtTextParser` (inherit `VttTextParser` instead of using it internally) and `Mp4TtmlParser` (reduce duplication).