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

lib/ortc.js: bette check for ext id value

上级 9906a9bd
......@@ -331,7 +331,7 @@ exports.getConsumableRtpParameters = function(params, caps, rtpMapping)
{
const consumableExtId = mapHeaderExtensionIds.get(ext.id);
if (!consumableExtId)
if (consumableExtId === undefined)
{
throw new Error(
`extension header id mapping not found [uri:${ext.uri}]`);
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论