[Live-devel] Developed a Server, choose "RTSP-over-UDP" was ok, but choose "RTSP-over-TCP" was error
Ross Finlayson
finlayson at live555.com
Sun Dec 21 17:17:23 PST 2014
Sorry, but the original code is correct. The “False” parameter tells the code not to block when writing the framing header for a RTP(or RTCP)-over-TCP packet. This is appropriate, because these packets - although being sent over a TCP connection - are still ‘datagrams’, and are not all delivered reliably. Blocking while writing these packets is not appropriate, because it will starve other events from happening.
If you find that *no* RTCP packets from the client are being transmitted over the TCP connection (without changing the code to block while doing so), then this tells you that your TCP connection is badly congested, and you should not be using RTP/RTCP-over-TCP.
(Because you have modified the supplied code (and because you use an unprofessional email address), you can expect no further support on this mailing list.)
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20141222/2c2c411a/attachment.html>
More information about the live-devel
mailing list