2014-10-11, 08:45
I am also writing a nhl gamecenter addon. with a custom skin and live scores. since I copy and pasted the landscape view from xperience1080p skin and using some of the png, I am waiting for his permission to redistribute.
if you need help accessing the streams LEGALLY, let me know.
here is a nutshell of it.
1. login in amd get cookie
2. send a get or post to publishpoint*
3. it will return a path to the m3u8
4. get this path. the url has all the info to get the key to the stream.
publishpoint takes the following params.
type: game, video
id: gameid (201401003)
gs: live, dvr, archive, condensed, continuos
ft: 2,4 (and other values. this changes the home/away feed)
you will need to provide a user agent string as well. the server uses this to format the url. if my user agent is android it will return ...android.m3u8
desktop browser will get an adaptive:// flash type stream. and so forth.
ps. sweet I didn't know 5000kbps is a valid bitrate!
if you need help accessing the streams LEGALLY, let me know.
here is a nutshell of it.
1. login in amd get cookie
2. send a get or post to publishpoint*
3. it will return a path to the m3u8
4. get this path. the url has all the info to get the key to the stream.
publishpoint takes the following params.
type: game, video
id: gameid (201401003)
gs: live, dvr, archive, condensed, continuos
ft: 2,4 (and other values. this changes the home/away feed)
you will need to provide a user agent string as well. the server uses this to format the url. if my user agent is android it will return ...android.m3u8
desktop browser will get an adaptive:// flash type stream. and so forth.
ps. sweet I didn't know 5000kbps is a valid bitrate!