You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ContentFilter, non-ByteRange case, no need for BytesAvailable() override, use NeedsCache capability (prefetch media resource, whole byte buffer.length)
#163
Closed
danielweck opened this issue
Mar 9, 2015
· 5 comments
I wrote a document that describes the whole issue, plus the proposed fix. In addition, it also contains the scenarios where this would come into play, and how the proposed fix would work with it. It is saved as a Google Doc:
Pretty thorough @nleme (as always!) Many thanks!
I believe you have already started implementation, so I hope you don't mind if I assign you to this issue.
I just opened a pull request to merge the changes from "feature/contentLengthFixes" (which were made in the two commits quoted in my previous comment) into develop. The pull request is:
NeedsCache
(must be set to truye always, because HTTP byte-range case is never encountered whenfilter_chain_byte_stream
is instantiated):https://github.com/readium/readium-sdk/blob/develop/ePub3/ePub/filter_chain_byte_stream.cpp#L61
BytesAvailable()
:https://github.com/readium/readium-sdk/blob/develop/ePub3/ePub/filter_chain_byte_stream.h#L66
https://docs.google.com/document/d/11NZEzDQhNesEfN6jXZTAihnC7XgFIrCTOT5TVkL0-P4/edit
The text was updated successfully, but these errors were encountered: