RootEncoder
RootEncoder copied to clipboard
Android 12 box recording screen streaming, playing streaming picture garbled
Hello, I used DisplayService on the Android 12 box to record the screen and push the stream, and then used the vlc player to pull the stream, but the picture was garbled, but after I used the Android 9 box to record the screen and push the stream and played the pull address, there was no such phenomenon, may I ask if you have any idea about it?
Maybe it is related with a video encoder bug in you Android 12. Can you check in logcat if you are using the same video encoder in both cases? The idea is exclude you encoder here: https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/encoder/src/main/java/com/pedro/encoder/utils/CodecUtil.java#L418
Closing as inactive.