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

Getting raw images to be sent via TCP #26

Open
SirAlbertoC opened this issue Apr 16, 2023 · 1 comment
Open

Getting raw images to be sent via TCP #26

SirAlbertoC opened this issue Apr 16, 2023 · 1 comment

Comments

@SirAlbertoC
Copy link

Hey! I just bumped into this useful plugin, since I am trying to get frames from two (or more) Scene Capture components to be sent via TCP. I managed to get it working with a simple C++ class with a single camera, but I am new to both Unreal and C++, so I can't go further. Did you ever try to implement this kind of pipeline?

@TimmHess
Copy link
Owner

Hey, thanks for checking out the repository!
Unfortunately, I never did integrate networking... Best I can do for now is maybe provide some direction. From what I understood is that you already can send the image data via network and it is the issue of connecting your code with mine, is that correct?
In case I understood correctly - the saving to disk in my code is done with async tasks, so assuming your game instance is the client you can open multiple connections (one for each image) to your tcp server then it should be fine to do everything in the async thread -> Basically, you should be able to only adapt this function void AsyncSaveImageToDiskTask::DoWork(){...}, such that all your code for setting up a connection and sending the data goes in this function.

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

No branches or pull requests

2 participants