<HTML><HEAD>
<META content="text/html charset=iso-8859-1" http-equiv=Content-Type></HEAD>
<BODY 
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space" 
dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Hi Ross,</DIV>
<DIV> </DIV>
<DIV>I have attached </DIV>
<DIV>1. my Device source file Wavsource.cpp </DIV>
<DIV>2. WaveStreamer .cpp( took a reference from testWavAudioStreamer.cpp) where 
I have thread to read the samples and have code for initialization and starting 
the session.</DIV>
<DIV> </DIV>
<DIV>Regards</DIV>
<DIV>
<DIV 
style="FONT-SIZE: small; FONT-FAMILY: 'Calibri'; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; TEXT-DECORATION: none; DISPLAY: inline"></DIV>
<DIV style="FONT: 10pt tahoma">
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=finlayson@live555.com 
href="mailto:finlayson@live555.com">Ross Finlayson</A> </DIV>
<DIV><B>Sent:</B> Thursday, October 24, 2013 6:23 PM</DIV>
<DIV><B>To:</B> <A title=live-devel@ns.live555.com 
href="mailto:live-devel@ns.live555.com">LIVE555 Streaming Media - development 
& use</A> </DIV>
<DIV><B>Subject:</B> Re: [Live-devel] FrameSource:Getnextframe error while 
streamingPCMframes</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV 
style="FONT-SIZE: small; FONT-FAMILY: 'Calibri'; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; TEXT-DECORATION: none; DISPLAY: inline">
<DIV>
<BLOCKQUOTE type="cite">
  <DIV dir=ltr>
  <DIV dir=ltr>
  <DIV style="FONT-SIZE: 12pt; FONT-FAMILY: calibri">
  <DIV>I found the problem that uLawFromPCMAudioSource  afterGettingFrame 
  is not getting called when I use DeviceSource based design and triggering 
  concept.</DIV>
  <DIV>i.e. </DIV>
  <DIV>If I am calling FramedSource::afterGetting(this) in doGetNextFrame itself 
  , it is calling afterGettingFrame  function in 
  uLawFromPCMAudioSource   followed by calling 
  afterGettingFrame   function in MultiFramedRTPSink.</DIV>
  <DIV> </DIV>
  <DIV>If I am calling FramedSource::afterGetting(this) in deliverFrame(which 
  will called by trigger event), then it is calling only 
  afterGettingFrame   function in MultiFramedRTPSink and not 
  uLawFromPCMAudioSource   afterGettingFrame  function.</DIV>
  <DIV>That's why I am getting FramedSource ::getNextFrame():attempting to read 
  more than once at the same time. </DIV>
  <DIV> </DIV>
  <DIV>Where I am going wrong?</DIV></DIV></DIV></DIV></BLOCKQUOTE>
<DIV> </DIV>
<DIV>I can't tell what's wrong, without seeing your code.</DIV>
<DIV> </DIV>
<DIV>Please post the code for your "OnDemandServerMediaSubsession" subclass, and 
for your "DeviceSource" based class.</DIV></DIV><BR><BR>
<DIV apple-content-edited="true"><SPAN class=Apple-style-span 
style="FONT-FAMILY: helvetica; FONT-VARIANT: normal; WHITE-SPACE: normal; BORDER-COLLAPSE: separate; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FONT-WEIGHT: normal; COLOR: rgb(0,0,0); FONT-STYLE: normal; ORPHANS: 2; WIDOWS: 2; LETTER-SPACING: normal; LINE-HEIGHT: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto"><SPAN 
class=Apple-style-span 
style="FONT-FAMILY: helvetica; FONT-VARIANT: normal; WHITE-SPACE: normal; BORDER-COLLAPSE: separate; TEXT-TRANSFORM: none; WORD-SPACING: 0px; FONT-WEIGHT: normal; COLOR: rgb(0,0,0); FONT-STYLE: normal; ORPHANS: 2; WIDOWS: 2; LETTER-SPACING: normal; LINE-HEIGHT: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto">Ross 
Finlayson<BR>Live Networks, Inc.<BR><A 
href="http://www.live555.com/">http://www.live555.com/</A></SPAN></SPAN> 
</DIV><BR>
<P>
<HR>
_______________________________________________<BR>live-devel mailing 
list<BR>live-devel@lists.live555.com<BR>http://lists.live555.com/mailman/listinfo/live-devel<BR></DIV></DIV></DIV></BODY></HTML>