speed and buffer).
Advanced MP4 tokens cannot be combined with video secure tokens for HLS/DASH. If both are configured on the same CDN resource, the HLS/DASH token takes precedence.
Protected URL format
{token}— MD5 hash of the MP4 file path and signing parameters{expiration}— Unix timestamp (seconds) at which the URL expires&speed={speed}— optional; download speed limit (e.g.1M,500K)&buffer={buffer}— optional; buffer size for rate limiting (e.g.10M)
speed and buffer query parameters must match the values included in the token signature. Tampering with these values returns 403 Forbidden.
String to sign
Without IP binding:
An MP4 speed limit must be configured on the CDN resource for
speed and buffer to take effect.
Sign examples
The following examples show how different parameter combinations change both the string to sign and the resulting URL. Secret:MySecr3tStr1ng
Without speed limit or IP binding:
1M), buffer (10M), and IP binding (1.2.3.4):
Code examples
- Python
- Go