-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Comparing changes
Open a pull request
base repository: Red5/red5-server
base: v2.0.25
head repository: Red5/red5-server
compare: v2.0.26
- 13 commits
- 27 files changed
- 2 contributors
Commits on Dec 27, 2025
-
Improve late subscriber handling and keyframe detection in PlayEngine
Add timestamp offset tracking for late subscribers joining live streams. Keyframe detection mode now properly switches to SEND_ALL once a keyframe is available. Added waitingForKeyframe flag to track state when waiting for the first keyframe before allowing frame sending. Changes: - Add publisherTimestampOffset field for tracking publisher timestamp - Add waitingForKeyframe flag to control frame sending before first keyframe - Initialize streamStartTS to 0 for late subscribers to generate proper relative timestamps - Enhance debug logging for keyframe availability and codec state - Clean up unused code in RTMP protocol encoders/decoders
Configuration menu - View commit details
-
Copy full SHA for a10b3b1 - Browse repository at this point
Copy the full SHA a10b3b1View commit details
Commits on Dec 28, 2025
-
Fix LEB128 decode to properly handle little-endian format
The decode(byte[]) method was incorrectly processing LEB128 encoded data, treating it as big-endian when LEB128 is by definition little-endian (Little Endian Base 128). Key fixes: - decode(byte[]): Now correctly reads bytes in little-endian order, where the LSB 7-bit group comes first. Each byte is processed sequentially with the 7 data bits shifted into position. - encode(byte[]): Simplified to delegate to decode, as the original logic was fundamentally broken for LEB128 encoding. LEB128 format per AV1 spec: - Each byte contains 7 bits of data (LSB) + 1 continuation bit (MSB) - Bytes are read in the order they appear in the packet - First byte contains least significant 7-bit group Example: value 150 - Old (wrong): Would read bytes in big-endian order, producing incorrect results - New (correct): Reads [0x96, 0x01] as: (0x16 << 0) | (0x01 << 7) = 22 + 128 = 150 Also fixed test data with correct LEB128 expected values.
Configuration menu - View commit details
-
Copy full SHA for c94a47f - Browse repository at this point
Copy the full SHA c94a47fView commit details
Commits on Dec 31, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 5538edd - Browse repository at this point
Copy the full SHA 5538eddView commit details -
Configuration menu - View commit details
-
Copy full SHA for cdf2177 - Browse repository at this point
Copy the full SHA cdf2177View commit details
Commits on Jan 1, 2026
-
Update common/src/main/java/org/red5/server/net/rtmp/codec/RTMPProtoc…
…olEncoder.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7c0b729 - Browse repository at this point
Copy the full SHA 7c0b729View commit details -
Update common/src/main/java/org/red5/server/net/rtmp/codec/RTMPProtoc…
…olEncoder.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for cb75621 - Browse repository at this point
Copy the full SHA cb75621View commit details -
Update io/src/main/java/org/red5/io/utils/LEB128.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d6c55ce - Browse repository at this point
Copy the full SHA d6c55ceView commit details -
Update common/src/main/java/org/red5/server/net/rtmp/codec/RTMPProtoc…
…olEncoder.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6ce893c - Browse repository at this point
Copy the full SHA 6ce893cView commit details -
Update common/src/main/java/org/red5/server/net/rtmp/codec/RTMPProtoc…
…olEncoder.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 142a67a - Browse repository at this point
Copy the full SHA 142a67aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26c7d0b - Browse repository at this point
Copy the full SHA 26c7d0bView commit details -
Fix A/V sync for late subscribers and improve RTMP timestamp handling
PlayEngine changes: - Track audio and video base timestamps separately for late subscribers - Both audio and video now start at ts=2 for proper A/V sync - Reorder playLive() to send audio config before keyframe (DTS ordering fix) - Add debug logging for video frame delivery path RTMPConnection changes: - Reduce BytesRead acknowledgement interval from 1MB to 128KB - More frequent acknowledgements improve encoder compatibility - Add debug logging for BytesRead messages RTMP codec improvements: - Enhanced extended timestamp handling for timestamps >= 0xFFFFFF - Per-channel timestamp offset tracking for discontinuity compensation - Improved timestamp delta calculations in encoder Debug logging additions: - ClientBroadcastStream: video reception and livePipe push logging - VideoFrameDropper: state transition and frame drop decision logging - TestRTMPUtils: comprehensive tests for RTMP utility methods
Configuration menu - View commit details
-
Copy full SHA for 4fdd3fe - Browse repository at this point
Copy the full SHA 4fdd3feView commit details
Commits on Jan 2, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 2c71e59 - Browse repository at this point
Copy the full SHA 2c71e59View commit details -
Merge pull request #429 from Red5/glm
Proposed 2.0.26 release with RTMP encode/decode fixes
Configuration menu - View commit details
-
Copy full SHA for a941add - Browse repository at this point
Copy the full SHA a941addView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.0.25...v2.0.26