react-native-skia icon indicating copy to clipboard operation
react-native-skia copied to clipboard

Fix incorrect duration value on android that comes from an audio stream

Open mrEuler opened this issue 6 months ago • 1 comments

I didn't have this issue, when there was no audio playback in SkVideo. Now in some videos, the duration is totally incorrect (for example instead of 210'000 ms, it could be 78'123 ms, so no logic or dependency). That caused the issue of video interruption, that was caused, when the current playback time was larger than a "fake duration". Fixed this locally and tested a lot, works fine.

Issue was (is) only on Android.

mrEuler avatar Aug 05 '24 21:08 mrEuler