Hi ,
I have a roVideoScreen player, which uses HLS video urls to play videos.Since our HLS base url (.m3u8 format) has Query parameters like token and expire time along with it, the same parameters are appended to the subsequent segment urls (.ts format).This causes problem for segment forbidden error.But same url will not be having this parameters in players other than in roku.Is there any way to remove this parameters from segment urls . The highlighted are the parameters.
Base url :
https://someserver.amazonaws.com/videos/2604/13182/M45_1080p_adaptive.m3u8?AWSAccessKeyId=AKIAI2B2AD...
output:
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2500000
hls-high.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1000000
hls-medium.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=400000
hls-low.m3u8
sub url called :(may be hls-high/low/medium . here for eg :hls-medium is given)
[url]https://someserver.amazonaws.com/videos/2604/13182/hls-medium.m3u8?AWSAccessKeyId=AKIAI2B2ADZQKFHKQ&Expires=1407904225&Signature=iuLEgzwN2yo%2FoApsQNlGuU%3D&token=MgR6V+uXPoa8yjRbheI3xHHteNaBU=[/url]
output:
#EXTM3U
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-TARGETDURATION:10
#EXTINF:10,
hls-medium-00001.ts
#EXTINF:10,
hls-medium-00002.ts
#EXTINF:10,
hls-medium-00003.ts
#EXTINF:10,
hls-medium-00004.ts
#EXTINF:10,
hls-medium-00005.ts
#EXTINF:10,
hls-medium-00006.ts
#EXTINF:10,
hls-medium-00007.ts
#EXTINF:10,
hls-medium-00008.ts
#EXTINF:10,
hls-medium-00009.ts
#EXTINF:10,
hls-medium-00010.ts
#EXTINF:10,
hls-medium-00011.ts
#EXTINF:10,
hls-medium-00012.ts
#EXTINF:10,
hls-medium-00013.ts
#EXTINF:10,
hls-medium-00014.ts
#EXTINF:10,
hls-medium-00015.ts
#EXTINF:10,
hls-medium-00016.ts
#EXTINF:10,
hls-medium-00017.ts
Segment url:
[url]https://someserver.amazonaws.com/videos/2604/13182/hls-high-00010.ts?AWSAccessKeyId=AKIAI2B2ADZQKFHKQ&Expires=1407904225&Signature=iuLEgzwN2yo%2FoApsQNlGuU%3D&token=MgR6V+uXPoa8yjRbheI3xHHteNaBU=[/url]
"RokuJoel" wrote:
Unfortunately, if you put it on the base URL it will go to the segment URLs as well. This was due to some requirements from some of our larger content partners who wanted every segment authenticated.
- Joel