-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add HlsDataSourceStream for convenience
HlsDataSource::Read gives quite a bit of control over what segments of content should be read and to where, which is useful when downloading parts of raw media, but a good portion of the time HlsDemuxer will be downloading simple manifest files that measure in the low kilobytes. The HlsDataSourceStream provides a nice wrapper on a HlsDataSource which allows either exhaustive reading of an entire URI, or slowly progressing through the URI's data stream, but only forwards. Bug: 1266991 Change-Id: Id8f459e25e47108efe688e43cf4418c32f56534d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4214923 Reviewed-by: Thomas Guilbert <tguilbert@chromium.org> Commit-Queue: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Cr-Commit-Position: refs/heads/main@{#1103648}
- Loading branch information
1 parent
ccb7a98
commit c0836fd
Showing
4 changed files
with
384 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.