Reproducing encrypted video using ExoPlayer

前端 未结 5 1920
心在旅途
心在旅途 2020-12-07 22:51

I\'m using ExoPlayer, in Android, and I\'m trying to reproduce an encrypted video stored locally.

The modularity of ExoPlayer allows to create custom components tha

5条回答
  •  悲哀的现实
    2020-12-07 23:50

    I don't believe a custom DataSource, with open/read/close, is a solution to your need. For an 'on-the-fly' decryption (valuable for big files but not only), you must design a streaming architecture.

    There are already posts similar to yours. To find them, don't look for 'exoplayer', but 'videoview' or 'mediaplayer' instead. The answers should be compatible.

    For instance, Playing encrypted video files using VideoView

提交回复
热议问题