Ross,
I made changes as per your recommendation below. But I dont see any data 
being streamed out by MultiFramedRTPSink() class .

Here is what I have done,

To make things simpler, I am reading data from a  file (that has few 
seconds of elementary video stream data stored in it)
 in doGetNextFrame() method of DeviceSource class.
I read the requested number of bytes(fMaxSize) from this file and store it 
in global buffer, set the watch variable to TRUE.
doEventLoop() checks for this global watch variable (just before calling 
SingleStep() method) and invokes DeviceSource::deliverFrame() method which 
in turn invokes FramedSource::afterGetting() method if the watch wariable 
is found to be TRUE.

Please help,
Thanks
Ishwar




Ross Finlayson <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
05/23/2008 02:20 PM
Please respond to
LIVE555 Streaming Media - development & use <[EMAIL PROTECTED]>


To
LIVE555 Streaming Media - development & use <[EMAIL PROTECTED]>
cc

Subject
Re: [Live-devel] DeviceSource question






You can't call "LIVE555 Streaming Media" library code from within 
your separate encoder thread.  However, what you can do is have your 
encoder thread use a global variable to signal an event that gets 
handled by the LIVE555 code's event loop (running in its own thread).

One easy way to do this is to use "doEventLoop()"s 'watchVariable' 
feature; see 
<http://lists.live555.com/pipermail/live-devel/2005-September/003276.html
>. 


(Note, however, that if you use the 'watchVariable' feature, you 
should also note this point: 
<http://lists.live555.com/pipermail/live-devel/2006-March/004192.html>)
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to