Re: [Live-devel] doEventLoop

2009-01-22 Thread Aditya Vikram
To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] doEventLoop I don;t know anything about your custom code, but I hope you've read the FAQ, and are not trying to call the library from more than one thread. -- Ross Finlayson Live Networks, Inc. http://www.li

Re: [Live-devel] doEventLoop

2009-01-22 Thread Ross Finlayson
I don;t know anything about your custom code, but I hope you've read the FAQ, and are not trying to call the library from more than one thread. -- Ross Finlayson Live Networks, Inc. http://www.live555.com/ ___ live-devel mailing list live-devel@lists.

Re: [Live-devel] doEventLoop

2009-01-22 Thread Aditya Vikram
__ From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Thursday, January 22, 2009 11:47 AM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] doEventLoop with fWatchVariable I am using the fWatchVariable to

Re: [Live-devel] doEventLoop with fWatchVariable

2009-01-21 Thread Yedidia Amit
...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Thursday, January 22, 2009 8:17 AM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] doEventLoop with fWatchVariable I am using the fWatchVariable to notift the eventLoo

Re: [Live-devel] doEventLoop with fWatchVariable

2009-01-21 Thread Ross Finlayson
I am using the fWatchVariable to notift the eventLoop to exit. (as it should be) However if no connection is avaialble (nothing is waking the loop), this variable will not be tested and the eventLoop is blocked. Is there some "refresh" command to the loop that will force it to wake , so the

[Live-devel] doEventLoop with fWatchVariable

2009-01-21 Thread Yedidia Amit
Hi All, I am using the fWatchVariable to notift the eventLoop to exit. (as it should be) However if no connection is avaialble (nothing is waking the loop), this variable will not be tested and the eventLoop is blocked. Is there some "refresh" command to the loop that will force it to wake , so

Re: [Live-devel] doEventLoop()

2008-12-28 Thread Austin Snow
Thanks Ross, got it. But I'm this only getting asked for new data ~ every 1.3. Any ideas? Thanks Austin On Dec 28, 2008, at 9:26 PM, Ross Finlayson wrote: So there is not any way to push data (frame data) into a deivceSource? Once again (and for the last time): A "LIVE555 Streaming Media

Re: [Live-devel] doEventLoop()

2008-12-28 Thread Ross Finlayson
So there is not any way to push data (frame data) into a deivceSource? Once again (and for the last time): A "LIVE555 Streaming Media" application runs an event loop, so the only way to 'push' data to it is to signal the availablity of new data as an event, and thereby have a handler function

Re: [Live-devel] doEventLoop()

2008-12-28 Thread Austin Snow
Thanks Ross, So there is not any way to push data (frame data) into a deivceSource? I have modified DeviceSource.cpp deliverFrame to deliverFrame(void *data, int len) to pass data into it. And in the function follows; if (!isCurrentlyAwaitingData()) return; // we're not ready for the data

Re: [Live-devel] doEventLoop()

2008-12-26 Thread Ross Finlayson
The call to doGetNextFrame (doGetNextFrame(void *data, int len) in my code) only happens when data is present. No, that's not true! The "doGetNextFrame()" (virtual) function is called by the "FramedSource::getNextFrame()" function, which is called by the downstream object whenever it wants ne

Re: [Live-devel] doEventLoop()

2008-12-26 Thread Austin Snow
The call to doGetNextFrame (doGetNextFrame(void *data, int len) in my code) only happens when data is present. Than in (doGetNextFrame(void *data, int len) in my code) function I call deliverFrame(data, len); function passing the data. But the function deliverFrame(data, len); the if state

Re: [Live-devel] doEventLoop()

2008-12-26 Thread Ross Finlayson
Hello All, I have created my own deviceSource.cpp for my live input from QTKit, I call doGetNextFrame with my data and than pass it to deliverFrame. I have based my streaming from MPEG4ToVideoStreamer, which blocks at env->taskScheduler().doEventLoop(); // does not return and does not allow my

[Live-devel] doEventLoop()

2008-12-26 Thread Austin Snow
Hello All, I have created my own deviceSource.cpp for my live input from QTKit, I call doGetNextFrame with my data and than pass it to deliverFrame. I have based my streaming from MPEG4ToVideoStreamer, which blocks at env- >taskScheduler().doEventLoop(); // does not return and does not allow