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

Performance #84

Open
gab933 opened this issue Apr 20, 2022 · 4 comments
Open

Performance #84

gab933 opened this issue Apr 20, 2022 · 4 comments

Comments

@gab933
Copy link

gab933 commented Apr 20, 2022

Hi,
I have few questions about performance in using different approaches:

  • In this context it is better to work with Surface View or Texture View?
  • Which is the advantage/disadvantage in using DJICodecManager with respect to using MediaCodec?

Thank you,

Gabriele

@DJI-William
Copy link
Collaborator

We suggest you use SurfaceView. DJICodecManager's core is MediaCodec, so they are the same.

@gab933
Copy link
Author

gab933 commented Apr 21, 2022

Thank you for quick reply.
Therefore, which is the main differences/advatages in decoding by using mCodecManager.sendDataToDecoder with respect to DJIVideoStreamDecoder.getInstance().parse ?

@DJI-William
Copy link
Collaborator

We don't know what is the main differences/advatages because we havn't tested and compared them.

@gab933
Copy link
Author

gab933 commented Apr 21, 2022

Thank you.
If I have some news about it I'll let you know.
Regards,

Gabriele

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

No branches or pull requests

2 participants