Kodi Community Forum
Range Request from XBMC - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Range Request from XBMC (/showthread.php?tid=221514)



Range Request from XBMC - evilsephiroth - 2015-03-17

Hi to all,
I'm developing a plugin to stream content with adaptive streaming (f4m) and I'm experiencing some weird behaviour.

My dev machine is a Macbook air with XBMC Gotham.

I've implemented a python proxy(ThreadingMixin) that serves request to xbmc.

Starting the stream is perfect, fragments are served correctly but when I seek the file I don't understand clearly xbmc behaviour.

Example:
XBMC->Proxy :
Head /file.flv ==> Response 200 / OK with headers "Content-Type","Accept-Ranges" with value bytes

Get /file.flv with headers Range= 0- ==> Response 206 with Range 0 - (size -1) /size and correct headers.

Streaming work without problems but then if I skip for 10 minutes(UP KEY), I don't receive another request from xbmc.

I've debugged all with Charles(web debugging proxy) and I'm asking about the correct behaviour of xbmc when it's streaming a web content that accept range request.

Current work on github here :
https://github.com/evilsephiroth/ShaniXBMCWork
See latest commit for range request handling
Also a reference would be nice.


RE: Range Request from XBMC - evilsephiroth - 2015-03-19

up


RE: Range Request from XBMC - evilsephiroth - 2015-03-22

anyone?


RE: Range Request from XBMC - evilsephiroth - 2015-06-16

up