[Live-devel] socket blocking mode

Yu, Bo Bo.Yu at drs.com
Wed Apr 23 14:47:46 PDT 2014


The problem is user can remove the cable of TCP stream laptop and it stop another client steaming UDP.

Bo

From: live-devel [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Wednesday, April 23, 2014 10:51 AM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] socket blocking mode

We found a problem that when we use two clients (VLC) on two PC to stream the live555 based camera (H264 video). One uses TCP mode and another uses UDP mode.
When we disconnect the network cable on TCP mode PC, the UDP stream on another PC stopped at the same time.

We found the problem is due to making TCP in blocking mode in sendDataOverTCP().

This is important, because it fixed a serious bug.  See
            http://lists.live555.com/pipermail/live-devel/2013-June/017137.html
The blocking write to the TCP socket - which is done only in rare circumstances (when a non-blocking write of packet data succeeded in writing only part of the data) - should be very brief.  If it's not, then your network is seriously congested, and your data stream is exceeding the capacity of your network.



We reverted to older live555 (2012-05-17)

Old versions of the "LIVE555 Streaming Media" software are never supported.  Also, a reminder that under the terms of the LGPL, you must, upon request, upgrade your product to use the latest version of the software (or else provide a way for customers to perform this upgrade themselves).

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/20140423/0a4a0f21/attachment-0001.html>


More information about the live-devel mailing list