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

RtpReceiver: always check that transport exist before sending RTCP

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