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

Add functionality to "warm-up" recorder, to avoid stall on first recording. #16

Closed
supermoos opened this issue Feb 20, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@supermoos
Copy link

As per discord discussion there's a stutter / lag happening at the beginning of the first recording. The suggested workaround from discord thread is: "The workaround is pretty simple: create a recorder, commit exactly one video frame (empty array), then finish recording and delete the file.
Best done in a loading screen" - would be nice to have some helper function that could be called that does this.

@olokobayusuf
Copy link
Member

@supermoos we've added this as a toggle in VideoKitRecorder. It's called prepareOnAwake and will run this preparation when the component awakes (on scene load, or when you instantiate the component from code). This will be in the next update.

@olokobayusuf olokobayusuf added the enhancement New feature or request label Feb 21, 2023
@olokobayusuf
Copy link
Member

Implemented in VideoKit 0.0.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants