How to stream local byte array in video player

Hello All,

I have encrypted data file from which I am extracting my video content (mp4 file) in a byte array. And I want to play that byte array content in video player. I have checked plugins like cordova-plugin-exoplayer but I am not able to do byte streaming in any player.

Can anybody please help me to do this.