Hello Arno,

I'll try the wsoNoReceiveLoop option, thanks.

> make sure that you do not overflow the internal send buffer

I do that already.  Whenever I go to transmit audio (call Send), I check the 
buffered byte count waiting in the send queue and if it's non-zero I drop 
frames (ignore the audio to be sent and don't make a call to Send).  The 
send-to-Skype socket does not die like the receive-from-Skype socket, it keeps 
sending but drops frames at a huge rate as described above.  I have a 
statistics screen that shows me this in real time.

Sincerely,
Robert

--- On Mon, 2/6/12, Arno Garrels <arno.garr...@gmx.de> wrote:

> From: Arno Garrels <arno.garr...@gmx.de>
> Subject: Re: [twsocket] Problems with TWSocket and Skype
> To: "ICS support mailing" <twsocket@elists.org>
> Date: Monday, February 6, 2012, 11:38 PM
> robertoschler wrote:
> > My application acts as a middleman between an external
> WiFi webcam
> > device relaying audio from its microphone to Skype's
> input audio port
> > and relaying audio from Skype's output audio port to
> the webcam
> > device's speaker.  
> 
> Include wsoNoReceiveLoop in TWSocket.ComponentOptions and
> make sure
> that you do not overflow the internal send buffer, it would
> grow and
> grow otherwise limited only by the amount of available
> memory.
> Handle event OnDataSent to Send next data chunks, property
> AllSent 
> may be useful in this context as well.
> 
> -- 
> Arno Garrels
> --
> To unsubscribe or change your settings for TWSocket mailing
> list
> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
> 
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to