Hi Alexey
10.12.2015, 17:53, "Alexey Timofeyev" <
timo...@playform.com>:
> I have question about streaming audio and video over backrunner and nginx.
> Can backrunner understand headers Range?
No, we didn't implement them, since there were no requests for that.
One can use size/offset URI parameters, if it is not enough (why?) we could add range header parsing.
No, backrunner doesn't set dynamic headers, you can only add static headers via config file.
Usually streaming is handled a bit differently - backrunner's /lookup/ handler returns json
with all information, and frontend generates appropriate URL to pass to nginx+eblob module
either from the client player or from frontend itself.
There is /redirect/ handler in backrunner which is example of this logic implemented in backrunner itself,
it generates 301 redirect to the url handled by nginx+eblob module.
> What better workaround for streaming audio and video from the elliptic?
>
> Some browsers like Safary can't handle audio and video files normally from backrunner, we want to find best way to streaming.
Are you talking about streaming from eblob or reading file via /get/ backrunner handler?
The latter just returns requested piece of file, this is just what was written into the storage.
The former may add various headers (like flv header for the appropriate streaming).