<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Hello,</DIV>
<DIV>I have problem with creating server said in thread. What I did:</DIV>
<DIV> </DIV>
<DIV>Class A that initiate everything + start event loop</DIV>
<DIV>Class B which inherits from OnDemandServerMediaSubsession with redefined: 
createNewRTPSink and  CreateNewStreamSource which return my C class</DIV>
<DIV>Class C which inherits from AudioInputDevice</DIV>
<DIV> </DIV>
<DIV>Class C got method where I receive frames.</DIV>
<DIV> </DIV>
<DIV>Could you help me find best way to do this? I am kind of confused. I try 
now to copy all data I get in doGetNextFrame()  (fTo,fFrameSize etc.) 
and  do FramedSource::afterGetting(this). Is this even good way of 
thinking? If yes, I will need mechanism to not let do afterGetting before last 
frame wasn’t finished.<BR><BR>thanks in advance for any help,</DIV>
<DIV> </DIV>
<DIV>Karol</DIV></DIV></DIV></BODY></HTML>