On the client we generate an MD5 hash and an expiry time for a specific URL.
For an expiry time one week from now you can use:
The MD5 hash is calculated over your secret password, the path to the video
server manifest file and the expiry timestamp. In the case of our example:
Again, please note that the path to the server manifest file is used in the
hash calculation. Do not include anything after that like /Manifest,
The last thing to do is to add the hash and expiry date parameters to the URLs
that you would normally provide to the player.
Adobe's OSMF player and Strobe Media Playback currently don't handle query parameters
correctly. They simply tag on the 'Segx-Fragy' to the media URL specified in the
manifest file. You have to update the player so it inserts the 'Segx-Fragy' and
the end of the path and before any query parameters.