Closed yxdragon closed 2 months ago
The best way is to use [RtspImageView](https://github.com/alexeyvasilyev/rtsp-client-android/blob/master/library-client-rtsp/src/main/java/com/alexvas/rtsp/widget/RtspImageView.kt)
. Assign onRtspImageBitmapListener
to get RGB bitmaps.
I whant to snapshot a frame, and do some image analysis. I saw onRtspVideoNalUnitReceived can take the initial frame, but how can I get a decoded frame's rgb bytes?.