[coherence-dev] ReverseProxyResource with big files

Jean-Michel Sizun jm.sizun at googlemail.com
Wed Apr 15 08:24:12 CEST 2009


Hi,
can you give an example of the URL you're trying to access?
regards,
Jean-Michel


Dominik wrote:
> Hi,
>
> I am trying to write my first MediaServer backend. So far everything work fine but now I have the problem that it seems my client (XBOX 360) doesn't like URLs outside the local network.
> I tried to use an proxy by setting
>     self.location = ReverseProxyUriResource(url)
> and
>     res = DIDLLite.Resource("%s%d" % (store.urlbase, id), 'http-get:*:%s:*' % type)
> This works for small files (images). But with big files (videos) some how http://<urlbase>/id doesn't work as a proxy any more.
> With these big files I am getting a redirect when I make a request to http://<urlbase>/id and since the redirect points to an URL outside my local network my client doesn't like it. :-(
>
> I looked into the sources of the youtube backend since my client works with that backend.
> But the proxy stuff in the youtube backend seems quite complicate (buffering, caching, etc.).
>
> So I hoped someone on the list can help me.
>
> cheers
> Dominik
>   




More information about the coherence-dev mailing list