How to play a video from Byte array?

前端 未结 3 1200
时光说笑
时光说笑 2021-02-06 04:17

I am working on an app which needs encryption of video files which is working quite well.But the method I am using to decrypt returns the video as in Byte array. So is there any

3条回答
  •  说谎
    说谎 (楼主)
    2021-02-06 04:47

    How do you usually play video? You send InputStrem instance to player. So you ByteArrayInputStream that wraps your byte array and send it to the player.

提交回复
热议问题