Big jump in memory usage when loading/playing video
The plugin is extremely helpful. Thank you for putting it together.
Edit: Seems that the issue is device dependent and also dependent on emulator v real device. The below behavior was observed on emulator. Real device showed a memory increase, but no where near as much. Would still be helpful if there are tips for decreasing memory load. The issue is significant enough that on older devices (like an older ipad) the plugin does not work--the place for the video is a black screen.
When testing my app with xcode, the app was using about 180mb of memory fairly consistently. I then navigated to a page with the video player--the page has a few lines of text and then a video that is loaded from url. The memory use jumped to about 800mb. (Surprising to me bc the video is loaded from a remote url.)
Is that a common experience with the plugin? Is there a way to load a remote video while decreasing the memory footprint?
Environment:
- CLI: 5.1.1
- Cross-platform modules: 5.1.1
- Android Runtime: 5.1.0
- iOS Runtime: 5.1.1