Skip to content

ContentFilterEncryptedMedia

danielweck edited this page Nov 20, 2014 · 13 revisions

For a quick turnaround when experimenting with encrypted media resources, you may use the existing ContentFilter called "PassThroughFilter" (which by default simply passes the raw bytes extracted from the zip archive, no extra processing involved).

First, register the filter in the PopulateFilterManager() initialisation function:

https://github.com/readium/readium-sdk/blob/develop/ePub3/ePub/initialization.cpp#L40

PassThroughFilter::Register();
Clone this wiki locally