[Live-devel] RTSPClient / handleResponseBytes: Handling abnormal GET_PARAMETER response

Ross Finlayson finlayson at live555.com
Tue Nov 1 02:36:39 PDT 2016


And note also that your proposed patch is not guaranteed to work, because sometimes more than one socket read operation (on a TCP connection) is needed to get all of the data.  This is precisely why the “Content-Length:” value is important; it tells the client precisely how much data it needs to read (regardless of how many individual socket read operations it performs).  Once again, by not setting “Content-Length:” to a proper value, your server (network camera) has a bug - which needs to be fixed.

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list