Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address some TODOs #119

Merged
merged 1 commit into from Oct 31, 2022
Merged

Address some TODOs #119

merged 1 commit into from Oct 31, 2022

Conversation

thomshutt
Copy link
Contributor

No description provided.

@@ -41,8 +41,6 @@ func (d *CatalystAPIHandlersCollection) TranscodeSegment() httprouter.Handle {
if err != nil {
errors.WriteHTTPInternalServerError(w, "Error running Transcode process", err)
}

// TODO: Success callback to Studio
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This now happens inside the transcode method itself

@@ -112,7 +112,6 @@ func (d *CatalystAPIHandlersCollection) UploadVOD() httprouter.Handle {
}

func (d *CatalystAPIHandlersCollection) processUploadVOD(streamName, sourceURL, targetURL string) error {
// TODO: remove this logic to force input URLs to mp4/mov format
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we're keeping this for now

@@ -77,7 +77,7 @@ func GenerateAndUploadManifests(sourceManifest m3u8.MediaPlaylist, targetOSURL s
masterPlaylist.Append(
fmt.Sprintf("rendition-%d/rendition.m3u8", i),
&m3u8.MediaPlaylist{
TargetDuration: 10, // TODO: Don't hardcode
TargetDuration: sourceManifest.TargetDuration,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can just take it off the source manifest, since we're not forcing a different TargetDuration at this point

@@ -92,7 +92,6 @@ func RunTranscodeProcess(transcodeRequest TranscodeSegmentRequest, streamName st
}

// Iterate through the segment URLs and transcode them
// TODO: Some level of parallelisation once we're happy this works well
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now being tracked under #111 so we can ditch the TODO

@thomshutt thomshutt merged commit d7c0e57 into main Oct 31, 2022
@thomshutt thomshutt deleted the do-to-do branch October 31, 2022 19:21
iameli added a commit that referenced this pull request Feb 7, 2023
mist-api-connector: fix handling of TSSRT CONN_CLOSED events
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants