> 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. I am using ICS on both sides now. > TWSocket works just fine with the external WiFi webcam, however, I > can't make it work with Skype. The audio going to Skype is > frequently "jamming up" whereby the buffered byte count rises > quickly for short durations, enough to make the audio stream going > to Skype unusable (calling TWSocket.Send). The socket receiving > audio from Skype receives about 11 to 20 data deliveries > successfully and then just dies (OnDataAvailable stops firing). > The connection stays open, but Skype stops sending audio > permanently.
Is this TCP or UDP? As François says, the most likely issue is another part of your application pre-empting ICS events, such as updating visual components. You can also try increasing the IP buffer sizes, which are SocketRcvBufSize and SocketSndBufSize to 64K, which will also speed up data transfers. I've tested transfers at over 250Mbit/sec. Angus -- 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