Open JimTharioAmazon opened 3 years ago
The new environment variable is documented here: https://github.com/awslabs/aws-clustered-video-streams/blob/development/source/stale-playlist-detector/main.js#L19
Tested with values of 2, 5 and 10 for 6s segments.
Example:
export SPD_SEGMENT_PAUSE_DIVISOR=2
The segment time divisor has been hardcoded as 5 in the SPD. This means the interval between samples of playlists is (segment-time / 5) = 1.2s for 6s segments, 0.8s for 4s segments, and 0.4s for 2s segments.
We should expose this as an optional setting with the current default for backward compatibility.