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

Update RTCP SR timestamps in Simulcast #1489

Merged
merged 2 commits into from
Nov 6, 2019

Conversation

jcague
Copy link
Contributor

@jcague jcague commented Oct 24, 2019

Description

This PR updates Sender Reports in Simulcast by calculating the new timestamp. This is a solution better than the quick fix implemented yesterday.

[] It needs and includes Unit Tests

Changes in Client or Server public APIs

Not needed.

[] It includes documentation for these changes in /doc.

Copy link
Contributor

@lodoyun lodoyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

uint32_t ssrc = chead->getSSRC();
if (video_sink_ssrc_ == ssrc) {
uint32_t sr_timestamp = chead->getTimestamp();
chead->setTimestamp(sr_timestamp + timestamp_offset_);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch 👍

@jcague jcague merged commit df60a82 into lynckia:master Nov 6, 2019
@jcague jcague deleted the update/sr_timestamps_in_simulcast branch November 6, 2019 10:01
Arri98 pushed a commit to Arri98/licode that referenced this pull request Apr 6, 2021
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