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
Call Mist to transcode input manifest and push renditions to S3 #41
Conversation
1e1eed4
to
6cbd30c
Compare
cache: - Add transcoding streams to system cache misttriggers: - add handlers for LIVE_TRACK_LIST and PUSH_END triggers transcode: - add handler to launch MistProcLivepeer to kickoff transcode flow
This will be updated later to test a specific portion of the pipeline instead of an e2e test triggered by an html endpoint.
…add studio transcode support * exec-ing MistProcLivepeer and then opening pipes was causing it to sometimes exit prematurely. I used a similar method but refactored to fix this issue. * Added support for using one of two methods of transcode: 1. livepeer.studio w/ developer access-token: this uses production BOT nodes to perform the transcoding. 2. local hardcoded broadcaster: this uses a local broadcaster running in bg to perform the transcoding. These additional parameters were added to the json schema for the incoming transcode requests.
6cbd30c
to
286b675
Compare
286b675
to
30f6fcc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done. Some of my comments may be out of scope of this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a go mod tidy
.
cache: - Add transcoding streams to system cache misttriggers: - add handlers for LIVE_TRACK_LIST and PUSH_END triggers transcode: - add handler to launch MistProcLivepeer to kickoff transcode flow
This will be updated later to test a specific portion of the pipeline instead of an e2e test triggered by an html endpoint.
…add studio transcode support * exec-ing MistProcLivepeer and then opening pipes was causing it to sometimes exit prematurely. I used a similar method but refactored to fix this issue. * Added support for using one of two methods of transcode: 1. livepeer.studio w/ developer access-token: this uses production BOT nodes to perform the transcoding. 2. local hardcoded broadcaster: this uses a local broadcaster running in bg to perform the transcoding. These additional parameters were added to the json schema for the incoming transcode requests.
30f6fcc
to
c1619d6
Compare
Codecov Report
@@ Coverage Diff @@
## main livepeer/catalyst#41 +/- ##
====================================================
- Coverage 44.64286% 32.07354% -12.56932%
====================================================
Files 15 16 +1
Lines 728 979 +251
====================================================
- Hits 325 314 -11
- Misses 364 628 +264
+ Partials 39 37 -2
Continue to review full report at Codecov.
|
Addressed all comments - github is confused after a force push?
This PR still needs some tidying, async transcode (i.e HTTP call shouldn't wait for that) added back in and lots of unit tests - ideally mostly at the function rather than HTTP level since we don't have a good story around mocking MistProcLivepeer yet.