Re: [Zope-dev] Streaming large files

2004-07-09 Thread Thilo Staebler
thanks a lot for your answeres!
I think switching to Zope 2.7.1 and using IStreamIterators did the job 
for me :-)

thilo
Thilo Staebler wrote:
hi!
I have to stream large mpeg-files over http with range support. this 
works quite nice until the client seeks in the (media)player and the 
files aren't to large, because zope caches the whole file...
...so each seek means streaming the whole file from the requested 
position till end *g*
- my RESPONSE object doesn't even know, that the player has seeked e.g. 
back to the beginning...
is there a way to bypass the zope caching? and how do I know if the 
player has disconnected, so I can stop streaming?

thanks in advance
thilo
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Streaming large files

2004-07-08 Thread Thilo Staebler
hi!
I have to stream large mpeg-files over http with range support. this 
works quite nice until the client seeks in the (media)player and the 
files aren't to large, because zope caches the whole file...
...so each seek means streaming the whole file from the requested 
position till end *g*
- my RESPONSE object doesn't even know, that the player has seeked e.g. 
back to the beginning...
is there a way to bypass the zope caching? and how do I know if the 
player has disconnected, so I can stop streaming?

thanks in advance
thilo
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )