Hi there,

this is intended to be a discussion starter. I am currently adapting 
osgART to integrate better with OpenSceneGraph 2.x and I am removing all 
the indirections we have in osgART to use live video via 
ImageStream/Image. As I assume some of you might also want to use live 
video within simulations the current interface of ImageStream is suboptimal.

Two questions basically:

- are there any objections about having a method open() which basically 
connects the image stream to a device or an image file. start() is kind 
of "late" because open() might pull up dialogs for configuration. This 
also would mean a new StreamStatus READY (like in GStreamer).

- using -1 as return of getLength to indicate a live source? Or have a 
flag with a getter (bool isLive() const)?

Configuration of live sources is hard to generalize, thus I am hesitant 
to suggest anything for that: any takers?


Cheers,
Hartmut

-- 
Hartmut Seichter, Post-Doctoral Fellow, HITLabNZ
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to