Forum Discussion
TheEndless
11 years agoRoku Guru
"zuber" wrote:
I am using roku SDK template. I was able to successfully able to play regular m3u8 streams on my roku via this videoplayer app.
but when I try to play this secured m3u8 stream in roku it doesn't recognize it, but it works fine in VLC player.
Here is XML code.
<item sdImg="http://www.ddpunjabi.in/images/logo%20new2.png" hdImg="http://www.ddpunjabi.in/images/logo%20new2.png">
<title>Test Channel</title>
<contentId>98200</contentId>
<contentType>MUSIC</contentType>
<contentQuality>HD</contentQuality>
<streamFormat>hls</streamFormat>
<media>
<streamQuality>HD</streamQuality>
<streamBitrate>1500</streamBitrate>
<streamUrl>http://*****_*********_hl-lh.akamaihd.net/i/**_****_hls_1@175738/master.m3u8?hdnea=st=1410478550~exp=1410514550~acl=/*~hmac=7ed6be672a3df528f55369b0b90b076736cce98cd2d886592f6f69133352507f&play-only=backup&jwstreamtype=hls</streamUrl>
</media>
<synopsis>Test</synopsis>
<genres>EDU</genres>
<runtime>11260</runtime>
</item>
You haven't XML encoded the URL there, so the ampersands are almost certainly causing the parsing of the XML to fail. Run the XML through an XML validator like this one: http://www.w3schools.com/xml/xml_validator.asp