Skip to content

Commit

Permalink
Log a warning if we generate large RTCP packets. (jitsi#231)
Browse files Browse the repository at this point in the history
* Log a warning if we generate large RTCP packets.
  • Loading branch information
JonathanLennox committed Feb 26, 2020
1 parent e699223 commit f766bd5
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -101,6 +101,9 @@ class Transceiver(
RtpReceiverImpl(
id,
{ rtcpPacket ->
if (rtcpPacket.length >= 1500) {
logger.warn("Sending large locally-generated RTCP packet of size ${rtcpPacket.length}, first packet of type ${rtcpPacket.packetType}.")
}
rtpSender.processPacket(PacketInfo(rtcpPacket))
},
rtcpEventNotifier,
Expand Down

0 comments on commit f766bd5

Please sign in to comment.