Speed up encryption/decryption?

后端 未结 5 1602
后悔当初
后悔当初 2020-12-09 14:20

I have an encryption and decryption code which I use to encrypt and decrypt video files (mp4). I\'m trying to speed up the decryption process as the encryption one is not th

5条回答
  •  青春惊慌失措
    2020-12-09 14:54

    Instead of spending efforts to improve an inadequate architecture, you should consider a streaming solution: it has the great advantage to spread the computation time for the decryption so that it becomes no more noticeable. I mean: do not produce another file from your video source but rather a stream, with a local http server. Unfortunately there is no such component in the SDK, you have to make your own implementation or search for an existing one.

提交回复
热议问题