TSN live sports streaming (1 Viewer)

corporate_gadfly

Portal Pro
May 17, 2011
396
136
Home Country
Canada Canada
Hi @georgius,

I was trying to get TSN Live streaming working, but I think I am running into Afhs cookie handling issues. Find attached a case where Seg/Frag URL works (for Tou.TV). The request for Seg/Frag URLs has the following:
Code:
MPUrlSourceSplitter_Protocol_Afhs: instance 'Main': CurlDebugCallback(): sent HTTP header: 'GET /z/003/mp4/b/2011-03-22_bellemaman_0001_,500,800,1200,.mp4.csmil/2_ee8b5f6c472833a3_Seg1-Frag8 HTTP/1.1
Range: bytes=0-
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0
Host: cp143903-f.akamaihd.net
Accept: */*
Cookie: hdntl=exp=1358801967~acl=%2fz%2f003%2fmp4%2fb%2f2011-03-22_bellemaman_0001_*~data=hdntl~hmac=1a6776b62f49f2de23a84c14479924f6f8f7d7b96abcec2d2674617e2920c31f
 
'
As you can see above, only 1 cookie.

In the case of TSN streaming, it doesn't work. Logs attached.
Code:
MPUrlSourceSplitter_Protocol_Afhs: instance 'Main': CurlDebugCallback(): sent HTTP header: 'GET /z/TSNcaNFL1_1@92712/3584_5820b86ef388484b-p_Seg1-Frag490717 HTTP/1.1
Range: bytes=0-
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0
Host: tsnlivehd-f.akamaihd.net
Accept: */*
Referer: http://esi2.ctv.ca/players/mediaplayer/builds/ets_3.1/etsmediaplayer/etsmediaplayer_3.0.55.4.QOS.swf
Cookie: _alid_=fKEic2sSQZurjke6/7EDew==; hdntl=exp=1358802595~acl=%2fz%2f*~data=hdntl~hmac=64771c46eb33088fe38851ba1c285053ea86e544e92a95bcd9bc7f0d4fceb27f
 
'
The problem, I think is that the cookie line has both cookies, _alid_ and hdntl. I think it only works with hdntl.

Thoughts?
 

georgius

Retired Team Member
  • Premium Supporter
  • October 31, 2010
    1,376
    654
    Bratislava
    Home Country
    Slovakia Slovakia
    For tou.tv has _alid_ cookie wrong path, that's reason why is not send to server. If it is possible, compare requests generated by filter and by web browser. You didn't attach logs from TSN live.
     

    corporate_gadfly

    Portal Pro
    May 17, 2011
    396
    136
    Home Country
    Canada Canada
    For tou.tv has _alid_ cookie wrong path, that's reason why is not send to server. If it is possible, compare requests generated by filter and by web browser. You didn't attach logs from TSN live.
    Damn... forgot to attach the "did not work logs". They are at home. In any case, the next live broadcast for TSN NFL Playoffs won't be until the Superbowl, Feb 3rd, so no chance to get live browser proxy logs.
     
    Last edited:

    georgius

    Retired Team Member
  • Premium Supporter
  • October 31, 2010
    1,376
    654
    Bratislava
    Home Country
    Slovakia Slovakia
    @georgius: Find attached, TSN live streaming does not work.
    I think that there is problem with cookies, requesting bootstrap info (information about segments and fragments) is without cookies and in response are set another values. Probably you don't have saved communication (e.g. with Fiddler) for comparison?
     

    georgius

    Retired Team Member
  • Premium Supporter
  • October 31, 2010
    1,376
    654
    Bratislava
    Home Country
    Slovakia Slovakia
    I fixed passing cookies between bootstrap info and segment and fragment downloads (SVN r2639). Try at next live session. And if possible, save original communication (between player and server) using Fiddler.
     

    Users who are viewing this thread

    Top Bottom