I'm trying to decrypt the encypt m3u8 live stream url with PHP and I need some advice from the forum.
When you try to download this m3u8 link
Code:
http://fw02.live30index.me.totiptv.com/live/1d92193b11fe490b8c67d0a88bee3fd6.m3u8?bitrate=1500&code=050c62da1504611302a93210ea964de1
It'll return m3u8 file which inside content is
Code:
#KEYURI=http://keyservice.me.totiptv.com/m3u8key/text?version=1f207d5c-6222-4276-b918-11d4c93649c6_0&id=1d92193b-11fe-490b-8c67-d0a88bee3fd6&type=live
#BODY=ViRhC0uFMov2sSi1MWkv6JHlTVbnTdu9aLCBeC6cKeYmjgXGSsqpgNuy2EiVAgMnzT95hTSbnl22Xk462AnzjeIA8hx4T87gETOCg2NaLSGE+GDwI2p7caDJd6VeTzKUPEHXfWw4huLQW34k8RaoP6thncBBfD94DUm8HoOUcefU+rHGDoGndgDh2PqdrB21XNaCtjzGsxQZwr2Q5KYJyxV9xDanG7MK1xpwlcJgLAmMlVNwwxNamg7H4dqyJs/rpqe/a2FvTPysdx1UNhxaJBNRRis5Ay9BIX3iQ/UPgTBrWtIgB83u0CGWaKV82spjlikovA6iObOKKHA2T544wvEo6oqwTCl4K+vXznknUUw9HHEzyF7pbQ0QAiGUZcp+3QnGepQEL+AN25Z4lRZBFpu5xrWriGmJgnwShfTtYFbCPR17pHUU57znuP7Wp0RytmH3VdGwItr+aTzuNnc+OlZhckTF5vSkAGEzMxsi0v9VyEsoONZaLH4/VzsAaUje4Nt3x+5hEq9wPucuIOpjF+ys422vKOnYyuBr4YSgwtOy5iMoD/hNvIwgkheO/3oADWnFXe/NAPQzbAkFJXMLrPszOH13kDCO/WFvYeBi3IzF994JnCNHrowLRRnQItzjTeEBWhHfmlr9yy1sOsusRWk3o4O33np3F+dmCE9EZ5WNBmTpL5M/ckAfQljDk5X7tJutztrfm0akQbvmgkZOCi8dsvsf47dxg8jruAYCyV4Ydpd9R1bsxzypCCUxooRDysF6fYUAsTcbtzQAZ2D6n1AlrwmcdysUuzvSQpyEP2VwX0nAY0APERa4edfJ3JKXx4j11wcfLBIyHS8XVlV+U79UVr4OAgHXk1GvYxfpdmTRhhu6tKjS6cmjZ2VYw6bVg428BVLCBDpZ2J0fOo6dhOADvBitZVbvtHV72K4z0qWUR4eABLuyJAxabfnXW66SCB97lmyfGkHz3YDeM9mifFrnc0O/kFwwgnoApBDkTZFysWGVUhqmEoWXmX+mZRaDrCE2rgGuF5onAUT3hTFuyQnntTpmnvikCph99DPeNBFUlksrZXS0/ag5S//3+FzlB6zM2nTti0R5u4hphVl0zxUFBupShA5IZsNvFvw2f79xzS3hI4AdVQ4iAIMzW6CCTbHTxdfahR9q954zS4jsFESp4+ryqm6yY2YWvPCsExE/skiVrx1o4lQ+YU8VxQiGlYXdosWxNbZ643Ohf3ZhSg5+5/xbASpjOsceqtSZgUgBJXZwKuA72EXYTQg914Yh
I don't know how it combine togetther but the final result is like
HTML Code:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:15
#EXT-X-MEDIA-SEQUENCE:23667487
#EXTINF:10.000,
http://nix02.livefile.me.totiptv.com/s09/1d92193b-11fe-490b-8c67-d0a88bee3fd6/800/20161107/800_1478502703_4238797_43121821.ts
#EXTINF:10.000,
http://nix02.livefile.me.totiptv.com/s09/1d92193b-11fe-490b-8c67-d0a88bee3fd6/800/20161107/800_1478502714_3066157_43131821.ts
#EXTINF:10.000,
http://nix02.livefile.me.totiptv.com/s09/1d92193b-11fe-490b-8c67-d0a88bee3fd6/800/20161107/800_1478502724_5457180_43141821.ts
Thank you,
Umpol