Re: [Live-devel] Push (instead of Pull) to custom DeviceSource

2007-10-11 Thread Chad Ata
10/11/2007 17:59 Subject Re: [Live-devel] Push (instead of Pull) to custom DeviceSource Please respond to

Re: [Live-devel] Push (instead of Pull) to custom DeviceSource

2007-10-11 Thread Ross Finlayson
>I'd like to just call doGetNextFrame() at my own pace when I have data >ready for it. No, "getNextFrame()" (and thus "doGetNextFrame()") must be called by the downstream object, when it is willing to receive data - i.e., the 'pull' model. What you can do, however, is arrange to call your "deli

[Live-devel] Push (instead of Pull) to custom DeviceSource

2007-10-11 Thread Chad Ata
Hi everybody, I'm writing my own framed MPEG DeviceSource. I would like to be able to Push MPEG data rather than have scheduled (Pull) data queries. Currently my code looks something like: void DeviceSource::doGetNextFrame() { if( available ) deliverFrame(); else