I\'m looking to implement DRM in an iOS video player, but I\'m not sure how to implement this. In order to implement video DRM (while still using Apple\'s hardware accelerated H
You can begin decrypting the file into another file and playback that file as you decrypt. You'll need to let it buffer a few seconds worth of video, but it will work.
Additionally you'll need to make sure that the moov
atom is BEFORE the mdat
atom in the file, otherwise it won't work. (AVFoundation, for example, creates MP4s where the moov
atom comes after the mdat
atom, and so they would need to be modified to work)