Hello everyone, I have a problem in my app development
I'm currently developing video live wallpaper and I'm having some issue. The video plays well, I also release the video every time onCompletion is invoked. However, when the mediaplayer object is prepared (onPrepared called) or playing, there will be around 5+ allocated buffer in the surfaceFlinger
I got it by calling the "adb shell dumpsys SurfaceFlinger" command
The allocated buffer will be back to one after the mediaplayer object is released
The dumpsys output is attached
Is this behavior normal? Is there some articles where I can learn about it?
Any help would be very appreciated
Thank you
I'm currently developing video live wallpaper and I'm having some issue. The video plays well, I also release the video every time onCompletion is invoked. However, when the mediaplayer object is prepared (onPrepared called) or playing, there will be around 5+ allocated buffer in the surfaceFlinger
I got it by calling the "adb shell dumpsys SurfaceFlinger" command
The allocated buffer will be back to one after the mediaplayer object is released
The dumpsys output is attached
Is this behavior normal? Is there some articles where I can learn about it?
Any help would be very appreciated
Thank you