-
Fix AES decryption of HLS streams. · 94dd9c41
As per http://tools.ietf.org/html/draft-pantos-http-live-streaming-04#section-5.2, the initializaton vector (IV) of the AES decryption algorithm should be set to: - the IV attribute value if present, - the sequence number otherwise. Currently, the IV is set once and use over all next media sequences where the IV attribute is not set. The fix is to use the provided IV if given or use the current media sequence number.
Damien Merenne committed