When trying to obtain the manifest I would encounter a KeyError with the SegmentTemplate key. That happened when parsing the MPD file if there was a subtitle stream in the manifest. The fix I propose is to check if the SegmentTemplate key exists (that means that the aset is either a video or audio stream), and if that is not the case, then it falls into a subtitle stream for which I added a list in the Manifest class.
When trying to obtain the manifest I would encounter a
KeyError
with theSegmentTemplate
key. That happened when parsing the MPD file if there was a subtitle stream in the manifest. The fix I propose is to check if theSegmentTemplate
key exists (that means that the aset is either a video or audio stream), and if that is not the case, then it falls into a subtitle stream for which I added a list in the Manifest class.