WIP: one ./MistServer binary that contains everything#195
Open
iameli wants to merge 24 commits intoDDVTECH:developmentfrom
Open
WIP: one ./MistServer binary that contains everything#195iameli wants to merge 24 commits intoDDVTECH:developmentfrom
iameli wants to merge 24 commits intoDDVTECH:developmentfrom
Conversation
b3d5aa8 to
8fca97c
Compare
this is not very portable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Terrible code. Proof-of-concept only. Doesn't work yet. But it does make one binary that boots a few things! Build the new
ninja MistServertarget to try it out.Notes:
MistController MistOutHLS MistOutHTTP MistOutRTMP MistInBuffer MistSession. So far only RTMP input and output work, HTTP is busted. Capabilities discovery is presently limited to some hardcoded JSON strings; you'd probably want to do codegen on that so capabilities can just be hardcoded at compile time.execvpthemselves to prependUtil::getMyPath() + "MistServer". I assume the right path here would be to refactor all of those calls to use the same helper inprocs.hso that can just be hardcoded/IFDEF'd in one place.ninja MistServertarget is broken on that branch, so there's obviously quite a bit of work to do on setting things up so that they can all be individual modules or one shared thing.