Skip to content

Commit

Permalink
Add rendition DTSH generation back in
Browse files Browse the repository at this point in the history
  • Loading branch information
thomshutt committed Nov 16, 2022
1 parent a38124b commit 40bfc7f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions handlers/misttriggers/recording_end.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,14 @@ func (d *MistCallbackHandlersCollection) triggerRecordingEndSegmenting(w http.Re
}
}()

// prepare .dtsh headers for all rendition playlists
for _, output := range outputs {
if err := d.MistClient.CreateDTSH(output.Manifest); err != nil {
// should not block the ingestion flow or make it fail on error.
log.LogError(requestID, "CreateDTSH() for rendition failed", err, "destination", output.Manifest)
}
}

}()
}

Expand Down

0 comments on commit 40bfc7f

Please sign in to comment.