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/padding removal handler #868

Merged
merged 12 commits into from
Apr 24, 2017
Merged

Conversation

lodoyun
Copy link
Contributor

@lodoyun lodoyun commented Apr 24, 2017

Description

This PR fixes PaddingRemovalHandler. It adds sequence number translation for NACKs to avoid problems when there is Padding in non-simulcast connections. Also, the handler is moved in the pipeline to avoid conflicts with FeedbackGenerationHandler

[] It needs and includes Unit Tests

Changes in Client or Server public APIs

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

Copy link
Contributor

@jcague jcague left a comment

Choose a reason for hiding this comment

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

LGTM! just some minor comments

if (translator_it != translator_map_.end()) {
ELOG_DEBUG("Found Translator for %u, %s", ssrc, connection_->toLog());
translator = translator_it->second;
} else {
Copy link
Contributor

Choose a reason for hiding this comment

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

} else if (should_create) {?

void RtpPaddingRemovalHandler::notifyUpdate() {
auto pipeline = getContext()->getPipelineShared();
if (!pipeline) {
return;
}

connection_ = pipeline->getService<WebRtcConnection>().get();
Copy link
Contributor

Choose a reason for hiding this comment

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

consider moving this line below, after the if(initialized_)

@lodoyun lodoyun merged commit e483800 into lynckia:master Apr 24, 2017
@lodoyun lodoyun deleted the fix/PaddingRemovalHandler branch May 5, 2017 12:36
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