use of org.schabi.newpipe.extractor.stream_info.VideoStream in project NewPipe by TeamNewPipe.
the class YoutubeStreamExtractorRestrictedTest method testGetVideoStreams.
@Test
public void testGetVideoStreams() throws ParsingException {
for (VideoStream s : extractor.getVideoStreams()) {
assertTrue(s.url, s.url.contains(HTTPS));
assertTrue(s.resolution.length() > 0);
assertTrue(Integer.toString(s.format), 0 <= s.format && s.format <= 4);
}
}
Aggregations