Android MediaCodec

hi, I am working in unity2020.3.4 and I ha to decode a byte[ ] stream in h264 codec to display on screen. I think I need to use android.media.MediaCodec class but I don´t know where to find the library or how could I acces it
thanks
Javi

Ok, based on your old post, seems like you are already on the right track about MediaCodec.

However, there is no direct support for MediaCodec access in Unity. You may need to write a native library to decode the data through MediaCodec and get the decoded frame to make a texture (or create a native texture and refer it from unity).

ok, thanks for the help

hi
i dont have much experience with android. does any one have an example that I could use?