getLiveEdge
Compute the "live edge" as a long datatype, the largest position not within three target durations of the duration (per the HLS spec).
Return
-1 if the video is not live. Otherwise the largest position that is three target durations away from the duration.