-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Conversation
There was a problem hiding this 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 { |
There was a problem hiding this comment.
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(); |
There was a problem hiding this comment.
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_)
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 withFeedbackGenerationHandler
[] It needs and includes Unit Tests
Changes in Client or Server public APIs
[] It includes documentation for these changes in
/doc
.