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

Support playback from Cockpit log files + video recordings #619

Open
7 tasks
ES-Alexander opened this issue Dec 5, 2023 · 0 comments
Open
7 tasks

Support playback from Cockpit log files + video recordings #619

ES-Alexander opened this issue Dec 5, 2023 · 0 comments
Labels
accessibility new-feature Something Cockpit does not do yet ux Has to do with the user experience video

Comments

@ES-Alexander
Copy link
Contributor

ES-Alexander commented Dec 5, 2023

#582 introduced logging of (some of) Cockpit's outputs. It would be very handy to allow using those as a dive replay source with a nicer interface than is possible with a subtitle file.

As an extension of that idea, it would be super convenient to

  • allow the user to create an "Export" Profile which gets saved together with video recordings and the Cockpit logs,
    • ideally in a way that Cockpit can be directed to the folder of stuff and load it all together for playback.

That way the data owner could decide how they want the widgets and whatnot to be displayed, and then they can send the folder of stuff to external parties who could do playback of it on a web-hosted version of Cockpit (without needing anything installed outside of a browser).

Furthermore,

  • we could allow specifying a cloud storage URL (e.g. google drive, BlueOS cloud in future, etc) to load the data from, to make it even easier,
  • potentially even in the form of a pre-filled URL so the "client" goes to the specified URL, which loads Cockpit and automatically fetches the data they wanted to play back.

  • This would likely require a new "play/pause" mini-widget, that could be used predominantly in Export profiles, for pausing the current log and video playback.
    • In a similar vein, we may also want to add a time-based slider widget that shows the current timestamp, allows changing the timestamp (and the playback rate), and potentially also displays recorded events of interest and the like (or some kind of indicator of that from the telemetry / processing the video)
  • Existing widgets that do some kind of data processing/formatting may need to add a "playback" option that allows accepting a pre-processed output value instead of a standard input value
    • We should define a consistent API for a widget to support this functionality, along with adding other file types to playback (e.g. for a sonar viewer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility new-feature Something Cockpit does not do yet ux Has to do with the user experience video
Projects
None yet
Development

No branches or pull requests

2 participants