fpvout / DigiView-Android

Live video out from your DJI FPV Goggles via USB.
https://fpvout.com
MIT License
281 stars 61 forks source link

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

Open jlucidar opened 3 years ago

jlucidar commented 3 years ago

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

Data Consumers

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

Everybody's input is more than welcome !