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

[core] Use setDataPacketTS to timestamp data packets. #2489

Merged
merged 2 commits into from
Oct 17, 2022

Conversation

maxsharabayko
Copy link
Collaborator

Extracted from #2483 to reduce the scope of changes.

A dedicated function is created for setting packet timestamp depending on whether TSBPD is enabled.
Now CUDT::packLostData(..) and CUDT::packData(..) set packet timestamp themselves, instead of setting it in the CUDT::packData(..).
It is needed for further changes related to AEAD (#2483) to set the data packet timestamp before encryption because the timestamp forms the associated data.

@maxsharabayko maxsharabayko added Type: Maintenance Work required to maintain or clean up the code [core] Area: Changes in SRT library core labels Oct 17, 2022
@maxsharabayko maxsharabayko added this to the v1.6.0 milestone Oct 17, 2022
@codecov-commenter

This comment was marked as off-topic.

@maxsharabayko maxsharabayko merged commit f637035 into Haivision:master Oct 17, 2022
@maxsharabayko maxsharabayko deleted the develop/set-packet-ts branch October 17, 2022 13:33
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