-
Notifications
You must be signed in to change notification settings - Fork 2
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
Begin transcode right after PUSH_END trigger #54
Conversation
segmentation is completed: * generate transcodeRequest in SegmentingPushEnd handler (since transcodeRequest will not be generated from the HTTP API endpoint) * update Segmenting cache Store function to store additional fields which will be used in transcodeRequest above
handlers/misttriggers/push_end.go
Outdated
SourceFile: si.SourceFile, | ||
CallbackUrl: si.CallbackUrl, | ||
} | ||
go handlers.RunTranscodeProcess(d.MistClient, transcodeRequest) |
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.
Cool! I think for the /vod
API behavior, you might want to wrap this into a local helper which handles the results sending the appropriate callbacks to Studio etc. I guess that's somewhat what you've done on your local change that you mentioned tho?
Btw does this StreamInfo
have the "probing" information of the file? If so, should be really easy to generate the profiles copying that logic from task-runner
3377855
to
67f9273
Compare
Codecov Report
@@ Coverage Diff @@
## main #54 +/- ##
===================================================
- Coverage 36.42447% 35.17364% -1.25084%
===================================================
Files 17 17
Lines 1046 1123 +77
===================================================
+ Hits 381 395 +14
- Misses 618 681 +63
Partials 47 47
Continue to review full report at Codecov.
|
Woohoo nice
…On Mon, 10 Oct 2022, 09:50 Thom Shutt, ***@***.***> wrote:
Merged #54 <#54> into main.
—
Reply to this email directly, view it on GitHub
<#54 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMJ4R3A4O6DD2MTKM6VHV3WCQGLDANCNFSM6AAAAAAQ6IEYW4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Begin transcode right after PUSH_END trigger is receieved after segmentation is completed: