Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Red5/red5-server
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.28
Choose a base ref
...
head repository: Red5/red5-server
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.29
Choose a head ref
  • 3 commits
  • 16 files changed
  • 1 contributor

Commits on Jan 8, 2026

  1. Update version to 2.0.29

    mondain committed Jan 8, 2026
    Configuration menu
    Copy the full SHA
    03f61c8 View commit details
    Browse the repository at this point in the history
  2. Fix RTMP extended timestamp handling for origin-to-edge streaming

    Two issues were causing chunk stream desynchronization in Red5-to-Red5
    cluster communication:
    
    1. Type 0 header decoding did not reset extended=false when wire timestamp
       dropped below MEDIUM_INT_MAX (16777215). This caused the flag to be
       incorrectly inherited from previous headers, making Type 3 chunks read
       4 extra bytes when they shouldn't.
    
    2. A "compatibility check" in Type 3 handling used decoded timestamp values
       (which include discontinuity offsets) instead of wire values, causing
       false positives that read extra bytes.
    
    Also documented that RTMPProtocolDecoder.decodeBuffer() already calls
    compact() in its finally block - callers should NOT compact again as
    double-compact corrupts buffer positions.
    
    Fixes:
    - Add else clause to Type 0 to reset extended=false when timestamp < MEDIUM_INT_MAX
    - Remove faulty compatibility check from Type 3 that checked adjusted values
    - Add comments in Mina decoders warning against double-compact
    - Add debug logging for Type 3 extended timestamp encoding
    - Add unit test for extended-to-non-extended timestamp transition
    mondain committed Jan 8, 2026
    Configuration menu
    Copy the full SHA
    4864691 View commit details
    Browse the repository at this point in the history
  3. Update version

    mondain committed Jan 8, 2026
    Configuration menu
    Copy the full SHA
    42e279a View commit details
    Browse the repository at this point in the history
Loading