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

Fixed bug: write back actual sending time if no source time supplied #1497

Merged
merged 2 commits into from
Aug 24, 2020

Conversation

ethouris
Copy link
Collaborator

@ethouris ethouris commented Aug 24, 2020

  1. Fixed: the actual sending time is available back after calling sendmsg2. If no source time supplied, this field will be written with the value of "origin time" (time when the packet was scheduled for sending). This way the next call in the group sender will pick up the time rewritten by the previous call and supply identical time for the same packet sent over a different link.

  2. Formula fixed for getSourceTime: the m_tsOriginTime was actually reduced in this equation making false impression that this value participates in the equation.

@ethouris ethouris added Priority: Critical Type: Bug Indicates an unexpected problem or unintended behavior [core] Area: Changes in SRT library core Impact: High labels Aug 24, 2020
@ethouris ethouris added this to the v1.5.0 - Sprint 21 milestone Aug 24, 2020
@ethouris ethouris self-assigned this Aug 24, 2020
@maxsharabayko
Copy link
Collaborator

buffer.h CSndBuffer::addBuffer(..) comment

/// OUTPUT:
/// - srctime: local time that was used to stamp the packet

Change to something like:

/// - srctime: local time that was used to stamp the packet unless already provided

@maxsharabayko maxsharabayko merged commit 29a8195 into Haivision:master Aug 24, 2020
@mbakholdina mbakholdina modified the milestones: v1.5.0 - Sprint 21, v1.4.2 Oct 14, 2020
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 Priority: Critical Type: Bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants