提交 dee0d2f0 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Fix #306: Uncomment pending code in H264.cpp now that the issue in Chrome is fixed

- https://github.com/versatica/mediasoup/issues/306
- https://bugs.chromium.org/p/webrtc/issues/detail?id=10651
上级 d90f949b
......@@ -201,19 +201,19 @@ namespace RTC
return false;
}
// Upgrade required. Drop current packet if base flag is not set.
// TODO: Cannot enable this until this issue is fixed (in libwebrtc?):
// NOTE: This is possible once this bug in libwebrtc has been fixed:
// https://github.com/versatica/mediasoup/issues/306
//
// clang-format off
// else if (
// this->payloadDescriptor->hasTid &&
// this->payloadDescriptor->tid > context->GetCurrentTemporalLayer() &&
// !this->payloadDescriptor->b
// )
// // clang-format on
// {
// return false;
// }
else if (
this->payloadDescriptor->hasTid &&
this->payloadDescriptor->tid > context->GetCurrentTemporalLayer() &&
!this->payloadDescriptor->b
)
// clang-format on
{
return false;
}
// Update/fix current temporal layer.
// clang-format off
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论