14 Commits

Author SHA1 Message Date
Roman Gaufman
f4a4e8fb05 Add inter-packet gap monitoring and fix RTCP CPU spinning
## Key Changes

### 1. Inter-packet Gap Monitoring for Proxy Server
- Added -D option with 10-second default timeout for dead stream detection
- Implemented ProxyRTSPClient::checkInterPacketGaps_() functionality
- Automatic stream reset when no packets received within timeout period
- Enhanced proxy server reliability for network interruptions and camera reboots
- Updated method signatures across ProxyServerMediaSession components

### 2. RTCP CPU Spinning Fix
- Fixed infinite loop in RTCPInstance::incomingReportHandler1()
- Added buffer state reset and graceful return instead of break
- Enhanced logging for troubleshooting malformed RTCP packets
- Prevents 100% CPU usage with buggy RTP/RTCP-over-TCP implementations

### 3. Enhanced Documentation
- Updated README.md with comprehensive feature documentation
- Added usage examples for new -D option with different timeout values
- Documented all production reliability improvements
- Updated modifications.patch with proper file exclusions

### 4. Minor Improvements
- Updated copyright years to 2025 across multiple files
- Enhanced TLS state management with setupContinue() method
- Fixed SRTP initialization and ROC handling
- Improved BufferedPacket destructor to prevent stack overflow
- Updated task scheduler for better event loop handling

## Technical Details
- Added fTotNumPacketsReceived and fInterPacketGapMaxTime tracking
- Implemented packet counting across all media subsessions
- Enhanced ProxyRTSPClient constructor with interPacketGapMaxTime parameter
- Added proper task cleanup and delayed task scheduling
- Fixed method signature propagation throughout proxy subsystem

These changes significantly improve live555's production reliability,
particularly for deployment with buggy IP cameras and unstable networks,
while maintaining complete backward compatibility.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-13 12:26:14 +10:00
Roman Gaufman
a0eb8f918e Version bump to 2024-10-24, remove -D option 2024-10-29 16:47:37 +00:00
Roman Gaufman
2c92a57ca0 Remove old files 2023-06-15 12:02:14 +01:00
Roman Gaufman
41a5ec5f65 Bump to version 2017.01.26 2017-01-28 17:29:20 +00:00
Roman Gaufman
7aaacef814 Bump to 2016.09.12 2016-09-15 16:39:05 +01:00
Roman Gaufman
35c375c6b1 Bump to 2015.08.07 2015-08-21 11:39:23 +01:00
Roman Gaufman
66820d5593 Bump to 2015.05.12 2015-05-22 21:48:29 +01:00
Roman Gaufman
423335c65c Bump to 2015.01.27 and double OutPacketBuffer for Dahua cameras 2015-02-01 12:34:16 +00:00
Roman Gaufman
d15741e748 Add back modifications.patch 2014-09-10 11:52:53 +01:00
Roman Gaufman
6b87f7f368 Bump to 2014-08-26 2014-09-10 11:50:32 +01:00
Roman Gaufman
680a15a543 increase buffer to 2000000 like before 2014-04-09 08:16:24 +01:00
Roman Gaufman
3ddcec94d7 Bump to version 2014.03.25 2014-04-09 08:08:53 +01:00
Roman Gaufman
c1dc0f2574 Bump to version 2013.12.05 2013-12-06 16:40:24 +00:00
Roman Gaufman
eecaa2eff0 Bump to version 2013.07.16 2013-07-29 20:20:19 +01:00