[FFmpeg-devel] HLS Stream on Kodi

Micah Galizia micahgalizia at gmail.com
Thu Aug 27 04:39:04 CEST 2015


On Tue, Aug 25, 2015 at 10:08 PM, Lucas Andrade <lucas at mindello.com.br> wrote:
> I'm trying to run a HLS Live Stream on Kodi and I'm getting an error 403
> after 5 minutes. Checking the wireshark capture I did realize that the
> ffmpeg requests aren't changing a cookie that is set on every response.
>
> Do you guys confirm that is a FFMpeg issue?

[snipped]

> GET /dvr/m/off24ha/off24ha_2564/off24ha_2564-1440465730-148687725600.ts
> HTTP/1.1
> User-Agent: Kodi/14.1 (Windows NT 10.0; WOW64) App_Bitness/32
> Version/14.1-Git:20150129-38e4046
> Accept: */*
> Connection: close
> Host: live.hls.globo.com
> Cookie: locksession=8171fe6881c99d4d95b53cd0dcf3acd9;
> vssession=cR_S3dMoZipzPbX8eNy0Qw14404658790059058404/dvr/m/off24ha/?0411440465697761939438414404691735864119652h6rN-AOOhXZcPlp2UCV8Fg|F|52dfc02cdd23810590000f57_605fd6ba-6320-4a5a-b10f-065e5363421d;
> locksession=8171fe6881c99d4d95b53cd0dcf3acd9
> Icy-MetaData: 1
>
>
> HTTP/1.1 200 OK
> Server: nginx
> Date: Tue, 25 Aug 2015 01:23:03 GMT
> Content-Type: video/MP2T
> Content-Length: 1690308
> Connection: close
> Set-Cookie:
> vssession=Psd_ZJE9VB33-uVq-64xew14404660830665574113/dvr/m/off24ha/?0411440465697761939438414404691735864119652h6rN-AOOhXZcPlp2UCV8Fg|F|52dfc02cdd23810590000f57_605fd6ba-6320-4a5a-b10f-065e5363421d;
> Expires=Tue, 25 Aug 2015 01:28:03 GMT; Path=/dvr/m/off24ha/;
> Expires: Tue, 25 Aug 2015 01:23:02 GMT
> Cache-Control: no-cache

[snipped]

I was in this code recently and I'm pretty sure that we aren't
checking for set-cookies on the segments (just keys and m3u8
requests)... Do you have a test stream?


More information about the ffmpeg-devel mailing list