Decode and use the video manifest
mainThe manifest returned by GET /video/ is a base64-encoded JSON string. To use it, you must decode it to obtain the HLS stream URLs.
Decoded Manifest Structure:
{
"mimeType": "application/vnd.apple.mpegurl",
"urls": [
"https://.../manifest.m3u8?token=..."
]
}These URLs are standard HLS (.m3u8) manifests that can be played in compatible media players.
{
"mimeType":"application/vnd.apple.mpegurl",
"urls":[
"https://im-fa.manifest.tidal.com/1/manifests/CAESCDQ4MjA0MTA2IhZXRWp2UUJ0Z0xhX1hjc0c1NGdra3ZBIhY2MDVpTzFpODBOVnlFenZUdFN5NkpBIhY4dXlxeUZjbDNkOUlrMnpSZ3d2RFhnIhZETU5RdEN2clNqaEdBWnNwNUVnaHpnIhY0NmJ1Z3hkWEpOY0I4ZmRjYmRkYjRRKAEwAlAB.m3u8?token=1772574630~MjUyODQzZjFjNjBlYjRhNjJlYWU0MTEzNzMwMDQ2ZmMzNzExZmY0OA=="
]
}