AzzappApp / react-native-skia-video

Video encoding/decoding support for React Native Skia
MIT License
53 stars 3 forks source link

fix(ios): prevent initialize all decoder at once #10

Open eyu0415 opened 2 months ago

eyu0415 commented 2 months ago

When composition items has many videos will crash by OOM.

in FrameDrawer({ frames }) have all decoder frames but it may be not required common use cases

Prevent initialize decoder at once, it handled by currentTime + 0.5sec (for transition two frames)