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

Replay saved stream (bin file) from a database #36

Open
markusham opened this issue Apr 12, 2019 · 3 comments
Open

Replay saved stream (bin file) from a database #36

markusham opened this issue Apr 12, 2019 · 3 comments

Comments

@markusham
Copy link

Hi, great project Marek! I was trying to go about storing the bin file of the recording in a database and then replaying the bin file on the iOS application I made. Since the project is only setup to work with a socket, do you have any suggestions as to how to go about replaying the recorded stream on-demand (such as storing it in a database and calling to download/play it)? Do I need to extract the frames from the bin file and replay them in a readable file format? Any help would be greatly appreciated!

@MarekKowalski
Copy link
Owner

Hi,

I'm not sure what the question is exactly. What format does your app expect? Is the bin file stored locally on the device or is the database remote? Please be more precise.

Thanks,

Marek

@markusham
Copy link
Author

Hi Marek, I'm just essentially looking for a way to replay streams and not just stream them. Do I need to port the player into the unity project and store the bin files locally in that project?

@MarekKowalski
Copy link
Owner

Hi,

Thanks, I understand your question now. Yes, you would want to move the code that reads the bin files to a Unity project.

You might have to place the .bin file in the streaming assets directory so that it is copied to the output project for iOS.

Marek

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