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

[Refacto] Extract core features to a separate library #56

Open
jlucidar opened this issue May 20, 2021 · 0 comments
Open

[Refacto] Extract core features to a separate library #56

jlucidar opened this issue May 20, 2021 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested

Comments

@jlucidar
Copy link
Member

So this is not a top priority at the moment, but It worth starting the debate.

The app is rather simple to understand today and the architecture is really straightforward. As the project grows, it's going to start being a mess. So we should at some point reorganize things a little bit and tidy up the code base.
One great Idea we talked about on Discord is to put all the internals of the project in a seperate library, so people can build apps on top of it. (like super fancy 8 simultaneous viewer with shiny overlay for races, etc...)

The DigiView app itself will then be built on top of the lib.

So we should discuss what we want to extract to this library, and what features the lib would host.
(maybe time to get the pen out and draw some neat architecture schemes ?)

A non exhaustive list :

Core

  • Usb Management (autoDetection/ authorization)
  • USB abstraction layers (InputStream / Output Stream)
  • Goggles Abstraction
  • Datasource splitter (so several stream consumers can access the stream at the same time)

Data Consumers

  • Exoplayer H264Extractor
  • Circular Buffering ?
  • MediaCodec
  • FFmpegKit ?
  • Direct Access

Extras (add UI components / High level classes for easy integration)

  • Exoplayer
  • MediaPlayer ?
  • DVR
  • RTMP

Everybody's input is more than welcome !

@jlucidar jlucidar added enhancement New feature or request help wanted Extra attention is needed question Further information is requested labels May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant