Welcome! Log In Create A New Profile

Advanced

Re: Download full mp4 file with proxy_cache or proxy_store !!

June 23, 2014 08:48AM
@Roman thanks for reply,

>> your second request has a different cache key, so the
file is downloaded again.

Means, if a user seeks through the video i.e http://url/test.mp4?start=99 ,
the whole file again gets downloaded or the partial part of the file from
99sec to onward gets downloaded ? If the whole file downloaded again each
time, does nginx support something like, if user seeks through the video
start=99 and the rest of the file gets download instead of the whole file ?
Is the rsync only solution if not nginx?




On Mon, Jun 23, 2014 at 5:22 PM, Roman Arutyunyan <arut@nginx.com> wrote:

>
> On 19 Jun 2014, at 10:12, shahzaib shahzaib <shahzaib.cb@gmail.com> wrote:
>
> >
> > we're using two servers (one proxy and one backend). Proxy server
> is using proxy_cache to cache mp4 files from backend server and working
> fine. When i stream a full video from cache, the header response gives me
> the cache-status: HIT but whenever i seek the mp4 file i.e
> http://url/test.mp4?start=33 , the Cache-status changes to : MISS . Does
> that mean, the proxy server is again downloading the same file after the 33
> seconds ?
>
> Since default proxy_cache_key has $args in it, your second request has a
> different cache key, so the
> file is downloaded again.
>
> Moreover the mp4 module does not work over proxy cache. That means even
> if you fix the cache key issue
> mp4 seeking will not work. You need to have a local mp4 file to be able
> to seek mp4 like that.
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Download full mp4 file with proxy_cache or proxy_store !!

shahzaib1232 June 19, 2014 02:14AM

RE: Download full mp4 file with proxy_cache or proxy_store !!

Lukas Tribus June 19, 2014 11:38AM

Re: Download full mp4 file with proxy_cache or proxy_store !!

shahzaib1232 June 20, 2014 03:16PM

RE: Download full mp4 file with proxy_cache or proxy_store !!

Lukas Tribus June 21, 2014 03:12AM

Re: Download full mp4 file with proxy_cache or proxy_store !!

Roman Arutyunyan June 23, 2014 08:24AM

Re: Download full mp4 file with proxy_cache or proxy_store !!

shahzaib1232 June 23, 2014 08:48AM

Re: Download full mp4 file with proxy_cache or proxy_store !!

Roman Arutyunyan June 23, 2014 10:34AM

Re: Download full mp4 file with proxy_cache or proxy_store !!

itpp2012 June 23, 2014 09:15AM

Re: Download full mp4 file with proxy_cache or proxy_store !!

shahzaib1232 June 23, 2014 09:30AM

Re: Download full mp4 file with proxy_cache or proxy_store !!

Roman Arutyunyan June 23, 2014 10:44AM

Re: Download full mp4 file with proxy_cache or proxy_store !!

shahzaib1232 June 23, 2014 02:08PM

Re: Download full mp4 file with proxy_cache or proxy_store !!

shahzaib1232 July 25, 2014 06:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 301
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready