public final class DashMpdParser extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DashMpdParser.DashMpdParsingException |
static class |
DashMpdParser.ParserResult |
Modifier and Type | Method and Description |
---|---|
static DashMpdParser.ParserResult |
getStreams(StreamInfo streamInfo)
Will try to download (using
StreamInfo.getDashMpdUrl() ) and parse the dash manifest,
then it will search for any stream that the ItagItem has (by the id). |
public static DashMpdParser.ParserResult getStreams(StreamInfo streamInfo) throws DashMpdParser.DashMpdParsingException, ReCaptchaException
StreamInfo.getDashMpdUrl()
) and parse the dash manifest,
then it will search for any stream that the ItagItem has (by the id).
It has video, video only and audio streams and will only add to the list if it don't
find a similar stream in the respective lists (calling Stream.equalStats(org.schabi.newpipe.extractor.stream.Stream)
).
Info about dash MPD can be found here.
streamInfo
- where the parsed streams will be addedDashMpdParser.DashMpdParsingException
ReCaptchaException