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

Use manifest as input to transcode rather than original MP4 #85

Merged
merged 1 commit into from
Oct 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ require (
github.com/cucumber/godog v0.12.5
github.com/google/uuid v1.3.0
github.com/julienschmidt/httprouter v1.3.0
github.com/kylelemons/godebug v1.1.0
github.com/livepeer/go-tools v0.0.0-20220926110222-2ebcbb5685b4
github.com/livepeer/livepeer-data v0.4.22
github.com/stretchr/testify v1.8.0
Expand Down Expand Up @@ -34,7 +35,6 @@ require (
github.com/hashicorp/go-memdb v1.3.0 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
github.com/mattn/go-colorable v0.1.8 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/spf13/pflag v1.0.5 // indirect
Expand Down
2 changes: 1 addition & 1 deletion handlers/transcode.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func RunTranscodeProcess(mistClient clients.MistAPIClient, request TranscodeSegm
}

inputStream, renditionsStream := config.GenerateStreamNames()
if err := mistClient.AddStream(inputStream, request.SourceFile); err != nil {
if err := mistClient.AddStream(inputStream, request.UploadURL); err != nil {
return fmt.Errorf("error adding stream to Mist: %s", err)
}

Expand Down