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

RtpReceiver: always check that transport exist before sending RTCP

上级 9a54d518
......@@ -301,13 +301,15 @@ namespace RTC
{
MS_TRACE();
this->transport->SendRtcpPacket(packet);
if (this->transport)
this->transport->SendRtcpPacket(packet);
};
void RtpReceiver::ReceiveRtcpFeedback(RTC::RTCP::FeedbackRtpPacket* packet)
{
MS_TRACE();
this->transport->SendRtcpPacket(packet);
if (this->transport)
this->transport->SendRtcpPacket(packet);
};
}
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论