Set default clear lead to 5 seconds

Change-Id: Ic9ec564659c9df983c8dd885a0cafd45d20cb2fd
This commit is contained in:
KongQun Yang 2018-08-13 14:59:11 -07:00
parent 8612798de1
commit 5602050ba4
1 changed files with 7 additions and 2 deletions

View File

@ -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, "