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

Fix RTCP SR RTP timestamp value calculation #223

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

befinitiv
Copy link

RTCP SR (and potentially other code) uses rtp::get_rtp_ts() to calculate the RTP SR timestamp value. If push_frame is used with explicit NTP timestamp, get_rtp_ts() always returnes 0 because the member variable rtp::rtp_ts_ is never assigned. This commit adds the missing assignments.

RTCP SR (and potentially other code) uses rtp::get_rtp_ts() to calculate the RTP SR timestamp value. If push_frame is used with explicit NTP timestamp, get_rtp_ts always returned 0 because the member variable rtp::rtp_ts_ is never assigned. This commit adds the missing assignments.
@jrsnen
Copy link
Member

jrsnen commented Jul 25, 2024

Hi,

Looks correct, thanks. Merging.

BR, Joni Räsänen

@jrsnen jrsnen merged commit 60cc41d into ultravideo:master Jul 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants