diff --git a/transcode/transcode.go b/transcode/transcode.go index 3ad2a01c5..942fbdbc0 100644 --- a/transcode/transcode.go +++ b/transcode/transcode.go @@ -428,6 +428,12 @@ func transcodeSegment( } else { transcodeConf.ForceSessionReinit = false } + // This is a temporary workaround that implements the same logic + // as the previous if block -- a new manifestID will force a + // T session re-init between segment at index=0 and index=1. + if int64(segment.Index) == 0 { + manifestID = manifestID + "_clip" + } var tr clients.TranscodeResult err := backoff.Retry(func() error {