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 tooooo 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
Hello Thilo, Thursday, July 8, 2004, 9:07:18 PM, you wrote: I don't know how it relates to Zope. There's FFServer (http://ffmpeg.sf.net) - powerful streaming solution. Or you may be interested in www.MMManager.org - Multimedia manager for Zope. TS> hi! TS> I have to stream large mpeg-files over http with range support. this TS> works quite nice until the client seeks in the (media)player and the TS> files aren't tooooo large, because zope caches the whole file... TS> ...so each seek means streaming the whole file from the requested TS> position till end *g* ->> my RESPONSE object doesn't even know, that the player has seeked e.g. TS> back to the beginning... TS> is there a way to bypass the zope caching? and how do I know if the TS> player has disconnected, so I can stop streaming? TS> thanks in advance TS> thilo TS> _______________________________________________ TS> Zope-Dev maillist - Zope-Dev@zope.org TS> http://mail.zope.org/mailman/listinfo/zope-dev TS> ** No cross posts or HTML encoding! ** TS> (Related lists - TS> http://mail.zope.org/mailman/listinfo/zope-announce TS> http://mail.zope.org/mailman/listinfo/zope ) -- Best regards, Eugene mailto:el-spam@yandex.ru
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 tooooo 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
You may want to take a look at Railroad project from Infrae. http://infrae.com/products/railroad/ -- Godefroid Chapelle (aka __gotcha) http://bubblenet.be
On Thursday, July 8, 2004, at 01:07 PM, 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 tooooo 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?
you mean cacheing in memory? Anything based on "File" does not do that.
thanks in advance thilo _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org 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 )
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 tooooo 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 - Zope-Dev@zope.org 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 )
participants (4)
-
Eugene -
Godefroid Chapelle -
Marc Lindahl -
Thilo Staebler