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

Fix #159. VP8 PayloadDescriptor. Check pictureId flag before handling it

上级 1b2da8a3
......@@ -226,7 +226,7 @@ namespace RTC
packet->SetPayloadDescriptorHandler(payloadDescriptorHandler);
// Modify the RtpPacket payload in order to always have two byte pictureId.
if (!payloadDescriptor->hasTwoBytePictureId)
if (payloadDescriptor->i && !payloadDescriptor->hasTwoBytePictureId)
{
// Shift the RTP payload one byte from the begining of the pictureId field.
packet->ShiftPayload(2, 1, true /*expand*/);
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论