When setting up your Telos Ad Stitching URL, the HLS Master Playlist must be provided in Base64 format.
Base64 encoding ensures your URL is safely transmitted as a query parameter, avoiding issues with special characters such as ?, &, or = that can break the request.
Why Encoding Is Required
Base64 converts your original playlist URL into a standardized ASCII string, allowing it to be safely passed inside the {m} macro.
Without encoding, the ad stitching service may fail to locate the correct video stream due to invalid or misinterpreted characters.
How to Encode
You can use any online or command-line Base64 encoding tool.
Online Tools:
Open an encoder like Base64 Guru
Select Encoders > HTML to Base64
Paste your original playlist URL (e.g.,
http://example.com/stream.m3u8).Click Encode.
-
Copy the generated Base64 string.
Example
Original URL: http://example.com/stream.m3u8
Encoded URL: aHR0cDovL2V4YW1wbGUuY29tL3N0cmVhbS5tM3U4