lshl/live555 — pull request #15 by lshl (2014-05-09 23:03:17+00:00)
Title: changes from 8/5/2014.

Changelog:
2014.05.08:
- Updated the 'blocking send()' hack in "RTPInterface::sendDataOverTCP()" so that the
'blocking send()' (if called) will have a timeout (default value: 500 ms), rather than
blocking indefinitely (which might happen if the TCP connection has hung for some reason).
(If you wish, you can change this by compiling "RTPInterface.cpp" with
RTPINTERFACE_BLOCKING_WRITE_TIMEOUT_MS defined to be some other value. A value of 0 means:
Don't timeout - i.e., the previous behavior.)
If the 'blocking send()' does time out, then the socket is closed, which will cause all
network activity (RTSP,RTP,RTCP) on the socket to cease. (If this is a RTSP server,
then all state for the connection will eventually be reclaimed normally.)
(Thanks to Gord Umphrey for suggesting the 'setsockopt()' call that sets the timeout.)
- Removed the "profile_level_id" parameter from the 'optional' variants of
"H264VideoRTPSink::createNew()", because this value can instead be extracted from the
SPS NAL unit (after removing 'emulation' bytes).
Simularly, we removed the "profileSpace", "profileId", "tierFlag", "levelId", and
"interopConstraintsStr" parameters from the 'optional' variants of
"H265VideoRTPSink::createNew()", because these values can instead be extracted from the
VPS NAL unit (again, after removing 'emulation' bytes).