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

Do not try to process videos as soon as the recording stops #880

Closed

Conversation

rafaellehmkuhl
Copy link
Member

Fix #878

@@ -144,8 +144,9 @@ watch(nameSelectedStream, () => {

// Fetch temporary video data from the storage
const fetchNumebrOfTempVideos = async (): Promise<void> => {
const size = await videoStore.videoStoringDB.length()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line has changed slightly recently, so probably is going to conflict with the pr #874 changes.

Copy link
Member Author

@rafaellehmkuhl rafaellehmkuhl Apr 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed!

Just to notice: I'm including both processed and unprocessed videos on the counting, as the unprocessed ones will also appear in the modal after your PR.

Copy link
Contributor

@ArturoManzoli ArturoManzoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well. The UI during video processing is a little bit stroboscopic, but since it will be replaced very soon, its ok.

As we are disabling auto-processing, it is the expected behavior as of now that the user has pending videos to be processed.
@rafaellehmkuhl
Copy link
Member Author

Talking to @ArturoManzoli we decided that this PR is merged but should not be merged until his following PR, which presents to the user the option to process the videos, is merged.

Will put in draft till that.

@rafaellehmkuhl rafaellehmkuhl marked this pull request as draft April 12, 2024 16:51
@rafaellehmkuhl rafaellehmkuhl marked this pull request as ready for review April 24, 2024 14:15
@rafaellehmkuhl
Copy link
Member Author

Commits merged inside #895.

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

Successfully merging this pull request may close these issues.

Cockpit can get very slower during missions if processing a video recording
2 participants