提交 f8854504 authored 作者: José Luis Millán's avatar José Luis Millán

ortc: permit the use of the payload type '0'

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