Qt 6.11 is out! See what's new in the release
blog
How to decode H.264 streams to a Surface using NDK AMediaCodec in QML on the Android
-
https://github.com/KDAB/android/tree/master/examples/qtsurfacetexture
This works properly in Qt5 but not in Qt6. I’ve spotted the androidsurfacetexture_p.h file in the Qt6 source code, yet I’m unsure how to apply it with a QQuickItem.I know MediaPlayer decodes directly to a Surface, but I’m receiving raw H.264 streams from RTSP, so MediaPlayer isn’t an option. That means I have to implement H.264 decoding manually with AMediaCodec.