Mats Bohlinsson
Second Officer
Flight distance : 1838077 ft
Sweden
Offline
|
Andreas-Menzel Posted at 2-12 07:56
But what if I want to change the activity? The livestream should be captured non-stop. When I use a TextureView, I have to implement the logic in the currently running activity, right? So I would have to implement it in every activity(?)
I never done it like that. I'm usually using overlays. I do most in python and overlayed webviews.
So you mean you don't want to show a live fpv view all the time? Sounds scary :-)
Of course, you can go the 264 encoding way, but keep in mind that the stream has to be patched, I think dji has some example for this. For patching they uses som undocumented stuff in the sdk and it differs from drone type. Never understood why they do it this way,
I think this is the example:
https://github.com/DJI-Mobile-SD ... treamdecodingsample
But this was slower on my system.
|
|