Skip to content

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