I have a requirement to play encrypted videos in a flutter application. These files will be stored locally in a mobile device and be played when requested by the media player. The file cannot be decrypted beforehand because of performance issues. Is there a way to handle the decryption while playing the video itself (decrypt file in chunks) ? I'm trying to achieve this through dart itself because this will be used in both iOS and Android. What is the best approach to achieve this? Any comments or suggestions would be appreciated.