Do not create encryption handler for text streams
The text stream should not be encrypted. Fixes #883.
This commit is contained in:
parent
8e3e8d3e8e
commit
427d264b46
|
@ -645,9 +645,9 @@ Status CreateAudioVideoJobs(
|
|||
if (!is_text) {
|
||||
handlers.emplace_back(std::make_shared<ChunkingHandler>(
|
||||
packaging_params.chunking_params));
|
||||
}
|
||||
handlers.emplace_back(CreateEncryptionHandler(packaging_params, stream,
|
||||
encryption_key_source));
|
||||
}
|
||||
|
||||
replicator = std::make_shared<Replicator>();
|
||||
handlers.emplace_back(replicator);
|
||||
|
|
Loading…
Reference in New Issue