I’m creating custom MediaListProvider in which I’m generating smil files on the fly using amlst. The issue I’m facing is that if I request .smil in URL like this:
http://MYDOMAIN:1935/vod/_definst_/amlst:aaa/bbb/sample.mp4/medialist.smil?foo=bar
I can’t access query string with stream.getQueryString() it’s null. However if I request m3u8 list like this:
http://MYDOMAIN:1935/vod/_definst_/amlst:aaa/bbb/sample.mp4/playlist.m3u8?foo=bar
the query string is automatically added to the chunklist, which is good.
My question is how can I access query string if .smil is requested, I wan’t to pass it in the source list.