Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-refax of change-independent parts for 2677 #2797

Merged

Conversation

ethouris
Copy link
Collaborator

@ethouris ethouris commented Sep 18, 2023

Changes:

  1. In LiveCC, the header size is taken now from CUDT::maxPayloadSize() and the current MSS size, to stay in sync with the value possibly differently elaborated in the future.
  2. MSG TRUNC flag is now traced in the debug logs, to detect any problems resulting in getting bigger packets than expected.
  3. checkIPv4Mapped added a simple wrapper to simplify its use.
  4. In the receiver buffer, the average payload size is used without the initial size value, instead it recognizes a trap 0 value as "no packet received so far".

@maxsharabayko maxsharabayko added the [core] Area: Changes in SRT library core label Sep 18, 2023
@maxsharabayko maxsharabayko added this to the v1.6.0 milestone Sep 18, 2023
@maxsharabayko maxsharabayko added the Type: Maintenance Work required to maintain or clean up the code label Sep 18, 2023
@maxsharabayko maxsharabayko merged commit 0d804ec into Haivision:master Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[core] Area: Changes in SRT library core Type: Maintenance Work required to maintain or clean up the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants