When swiping up/down to change volume (the video is still playing) the frame rate on the video drops significantly to roughly 10fps. As soon as you stop swiping/ release finger it goes back to normal smooth fps.
Any idea why this is happening? If so could you tell me why please? if its a fix in the code and you dont have time to implement it if you give me a high level overview as to why its happening and where in the code then ill be more than happy to help fix it with Pull Request
1.2.alpha1
8.0
Samsung
Galaxy S7
I enable swipe gestures on the player as follows:
Heres the XML for the player:
<com.halilibo.bettervideoplayer.BetterVideoPlayer xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/player" android:layout_width="match_parent" android:layout_height="match_parent" app:bvp_autoPlay="true" />
Problem:
When swiping up/down to change volume (the video is still playing) the frame rate on the video drops significantly to roughly 10fps. As soon as you stop swiping/ release finger it goes back to normal smooth fps.
Any idea why this is happening? If so could you tell me why please? if its a fix in the code and you dont have time to implement it if you give me a high level overview as to why its happening and where in the code then ill be more than happy to help fix it with Pull Request