Skip to content

librtmp2 0.17.4

Latest

Choose a tag to compare

@AlexanderWagnerDev AlexanderWagnerDev released this 01 Dec 20:45
· 20 commits to main since this release
6abb8ba

Fixed

  • Aggregates wider than the per-recv message budget (256 sub-tags) no longer
    lose their tail: the aggregate is charged once as a message and
    recv_track_budget bounds the sub-tag work. When the relay queue is full or
    the track budget is exhausted, the unprocessed sub-tags are kept for the next
    batch instead of failing the connection.
  • Aggregate dispatch checks the next frame against the relay byte budget, and
    has_buffered_messages reports a pending tail only while the relay queue has
    room. An empty recv(&[]) resumes the tail once the host drained
    pending_relay, so the last sub-tags are not stranded until the publisher
    sends more bytes.
  • Non-media aggregate sub-tags (metadata and unknown types) now consume the
    shared track budget, so a metadata-heavy aggregate cannot bypass the poll
    fairness bound.
  • The inbound staging cap follows a raised max_msg_length instead of staying
    fixed at twice the default, so an embedder that accepts larger messages is
    not rejected by the compile-time default.