Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
joycewang
Visitor

Live HLS - unwanted parameters added to ts segments

I'm working on some live HLS streams, the problem I have is Roku automatically add manifest query parameters on to the following ts segment urls. This cause the server skip local cache and request from origin. How can I fix this problem?

Sample manifest file: playlist.m3u8

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=0,BANDWIDTH=1164000,RESOLUTION=640x360
chunklist_b1164000.m3u8?_mfb=1164000&_mfn=353&_mfx=640x360&_mfr=rc6mfigkbn3z68z8a16ecr2q7rqtbg76&_mfs=1453249511
#EXT-X-STREAM-INF:PROGRAM-ID=0,BANDWIDTH=664000,RESOLUTION=640x360
chunklist_b664000.m3u8?_mfb=664000&_mfn=353&_mfx=640x360&_mfr=rc6mfigkbn3z68z8a16ecr2q7rqtbg76&_mfs=1453249511
#EXT-X-STREAM-INF:PROGRAM-ID=0,BANDWIDTH=364000,RESOLUTION=512x288
chunklist_b364000.m3u8?_mfb=364000&_mfn=353&_mfx=512x288&_mfr=rc6mfigkbn3z68z8a16ecr2q7rqtbg76&_mfs=1453249511
#EXT-X-STREAM-INF:PROGRAM-ID=0,BANDWIDTH=164000,RESOLUTION=256x144
chunklist_b164000.m3u8?_mfb=164000&_mfn=353&_mfx=256x144&_mfr=rc6mfigkbn3z68z8a16ecr2q7rqtbg76&_mfs=1453249511


Sample chunklist file: chunklist_b1164000.m3u8?_mfb=1164000&_mfn=353&_mfx=640x360&_mfr=rc6mfigkbn3z68z8a16ecr2q7rqtbg76&_mfs=1453249511

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:354
#EXT-X-TARGETDURATION:4
#EXT-X-DISCONTINUITY
#EXTINF:4.000,
http://domain.com/smil:ao-standby-pre/media_b1164000_363312373.ts
#EXTINF:4.000,
http://domain.com/ao-livestandby/smil:ao-standby-pre/media_b1164000_363312374.ts
#EXTINF:4.000,
http://domain.com/smil:ao-standby-pre/media_b1164000_363312375.ts


Notice that the url of ts segments I get from roku system log is "http://domain.com/smil:ao-standby-pre/media_b1164000_363312373.ts?_mfb=1164000&_mfn=353&_mfx=640x360&_mfr=rc6mfigkbn3z68z8a16ecr2q7rqtbg76&_mfs=1453249511" instead of "http://domain.com/smil:ao-standby-pre/media_b1164000_363312373.ts"


Thanks in advance!
0 Kudos
1 REPLY 1
joycewang
Visitor

Re: Live HLS - unwanted parameters added to ts segments

It turns out to be a Roku issue. So we add a workaround in server side to ignore the parameters in ts segment urls.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.