I am not able to play video rtsp data in android using video player.
I am facing MesonHwc: too many layers need HWC_VIDEO_PLANE, discard
issue.
@Pradeep_Kumar_Upadhy Can you tell me how to reproduce the problem you mentioned?
Hey @goenjoy @xiong.zhang @numbqq @zonggestsu @superceleron ,
I have 2 video surface views for streaming RTSP videos, I am able to play only one video and  this problem is arising when I am trying to play multiple  RTSP videos at the same time. Although I’m getting data from both the video streams.
Hi @goenjoy
Please follow the process which am doing and receiving this error.
- I have create thread which able to receive RTSP video streaming data.
 - Then i am calling media code for getInputBuffer and getoutputBuffer.
 - If i am running one RTSP video play it’s working fine.
 - If same process we are doing VIM3 it’s working fine.
 
"
05-11 13:25:16.229 12735 12876 W gralloc4: Buffer descriptor with invalid usage bits 0x2000
05-11 13:25:16.229   396   582 D MesonHwc: too many layers need HWC_VIDEO_PLANE, discard."
@Pradeep_Kumar_Upadhy Can you send me the corresponding APK for testing and verification?
Hey @goenjoy I’m attaching the corresponding APK for testing and verification. PFA.
APK LINK - click this!
Hey @goenjoy
Please follow the attached apk and above log to generate issue and let us know if you need anything from our end.
@Swathi @Pradeep_Kumar_Upadhy I installed APK, but I don’t know how to use it. How to reproduce the problem you described?