Re: [Live-devel] RTPInterface blocking readsocket()

2008-12-12 Thread Wouter Dhondt
Thanks for the quick answer. If the RTP-over-TCP data is well-formed, then there shouldn't be any blocking, because the data should be present in the correct format: '$';1-byte stream channel id; 2-byte packet size; packet data. Perhaps the data that you are sending is not well-formed (though

Re: [Live-devel] RTPInterface blocking readsocket()

2008-12-11 Thread Ross Finlayson
I'm using livemedia to stream over TCP. In the RTPInterface file there is a function tcpReadHandler() which handles all the data received from the client (reports, commands, ...). This function tries to read a '$' through a non-blocking call to readSocket(). Afterwards several more bytes are re

[Live-devel] RTPInterface blocking readsocket()

2008-12-11 Thread Wouter Dhondt
Hi. I'm using livemedia to stream over TCP. In the RTPInterface file there is a function tcpReadHandler() which handles all the data received from the client (reports, commands, ...). This function tries to read a '$' through a non-blocking call to readSocket(). Afterwards several more bytes