NewPipeExtractor/extractor/src/main/java/org/schabi/newpipe/extractor
TiA4f8R f7b1515290
[YouTube] Refactor DASH manifests creation
Move DASH manifests creation into a new subpackage of the YouTube package, dashmanifestcreators.
This subpackage contains:

- CreationException, exception extending Java's RuntimeException, thrown by manifest creators when something goes wrong;
- YoutubeDashManifestCreatorsUtils, class which contains all common methods and constants of all or a part of the manifest creators;
- a manifest creator has been added per delivery type of YouTube streams:
  - YoutubeProgressiveDashManifestCreator, for progressive streams;
  - YoutubeOtfDashManifestCreator, for OTF streams;
  - YoutubePostLiveStreamDvrDashManifestCreator, for post-live DVR streams (which use the live delivery method).

Every DASH manifest creator has a getCache() static method, which returns the ManifestCreatorCache instance used to cache results.

DeliveryType has been also extracted from the YouTube DASH manifest creators part of the extractor and moved to the YouTube package.

YoutubeDashManifestCreatorTest has been updated and renamed to YoutubeDashManifestCreatorsTest, and YoutubeDashManifestCreator has been removed.

Finally, several documentation and exception messages fixes and improvements have been made.
2022-05-28 12:00:56 +02:00
..
channel Fix checkstyle issues in subpackages with abstract classes 2022-03-26 19:40:10 +01:00
comments Fix checkstyle issues in subpackages with abstract classes 2022-03-26 19:40:10 +01:00
downloader Fix checkstyle issues in subpackages with abstract classes 2022-03-26 19:40:10 +01:00
exceptions Add AccountTerminatedException for better error handling of terminated channels 2021-05-01 17:50:19 +02:00
feed Fix checkstyle issues in subpackages with abstract classes 2022-03-26 19:40:10 +01:00
kiosk Fix checkstyle issues in subpackages with abstract classes 2022-03-26 19:40:10 +01:00
linkhandler Fixed new checkstyle problems from dev 2022-03-26 19:46:10 +01:00
localization Cleanup ``TimeAgoParser`` 2022-03-26 21:09:31 +01:00
playlist Fixed new checkstyle problems from dev 2022-03-26 19:46:10 +01:00
search Fix checkstyle issues in subpackages with abstract classes 2022-03-26 19:40:10 +01:00
services [YouTube] Refactor DASH manifests creation 2022-05-28 12:00:56 +02:00
stream Remove hashCode and equals methods overrides of Stream classes 2022-05-28 12:00:55 +02:00
subscription Fix checkstyle issues in subpackages with abstract classes 2022-03-26 19:40:10 +01:00
suggestion Fix checkstyle issues in subpackages with abstract classes 2022-03-26 19:40:10 +01:00
utils Apply reviews: improve comments, remove FILE, remove Stream#equals(Stream) 2022-05-28 12:00:49 +02:00
Collector.java Created gradle module and moved existing code to new one 2018-03-14 00:44:02 -03:00
Extractor.java Restored original naming 2022-03-26 19:43:09 +01:00
Info.java Fix checkstyle issues in root package extractor/ 2022-03-26 19:40:14 +01:00
InfoItem.java Fix checkstyle issues in root package extractor/ 2022-03-26 19:40:14 +01:00
InfoItemExtractor.java Created gradle module and moved existing code to new one 2018-03-14 00:44:02 -03:00
InfoItemsCollector.java Fix checkstyle issues in root package extractor/ 2022-03-26 19:40:14 +01:00
ListExtractor.java Fix checkstyle issues in root package extractor/ 2022-03-26 19:40:14 +01:00
ListInfo.java Fix checkstyle issues in root package extractor/ 2022-03-26 19:40:14 +01:00
MediaFormat.java Legitimately suppress remaining checkstyle warnings 2022-03-26 19:43:08 +01:00
MetaInfo.java Fix checkstyle issues in root package extractor/ 2022-03-26 19:40:14 +01:00
MultiInfoItemsCollector.java Fix checkstyle issues in subpackages with abstract classes 2022-03-26 19:40:10 +01:00
NewPipe.java Minimized some code 2022-03-26 20:51:37 +01:00
Page.java Fix checkstyle issues in root package extractor/ 2022-03-26 19:40:14 +01:00
ServiceList.java Legitimately suppress remaining checkstyle warnings 2022-03-26 19:43:08 +01:00
StreamingService.java Fix checkstyle issues in root package extractor/ 2022-03-26 19:40:14 +01:00