From 5602050ba497397a38f68b9d5e9d344cb81bb534 Mon Sep 17 00:00:00 2001 From: KongQun Yang Date: Mon, 13 Aug 2018 14:59:11 -0700 Subject: [PATCH] Set default clear lead to 5 seconds Change-Id: Ic9ec564659c9df983c8dd885a0cafd45d20cb2fd --- packager/app/muxer_flags.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packager/app/muxer_flags.cc b/packager/app/muxer_flags.cc index e55cde7f0b..e688e5c2a5 100644 --- a/packager/app/muxer_flags.cc +++ b/packager/app/muxer_flags.cc @@ -9,8 +9,13 @@ #include "packager/app/muxer_flags.h" DEFINE_double(clear_lead, - 12.0f, - "Clear lead in seconds if encryption is enabled."); + 5.0f, + "Clear lead in seconds if encryption is enabled. Note that we do " + "not support partial segment encryption, so it is rounded up to " + "full segments. Set it to a value smaller than segment_duration " + "so only the first segment is in clear since the first segment " + "could be smaller than segment_duration if there is small " + "non-zero starting timestamp."); DEFINE_double(segment_duration, 6.0f, "Segment duration in seconds. If single_segment is specified, "