You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's valid to pass multiple RTCP packets in the same UDP packet. The UDP packet is decrypted correctly, but both rtcp.Unmarshal and ReadRTCP can only return a single packet. rtcp.Unmarshal will incorrectly assume the extra concatenated packets to be an extension, improperly ignoring the length header.
The text was updated successfully, but these errors were encountered:
My current work-around is to use rtpSender.Read and rtcp.NewReader (which does correctly handle concatenated packets). It's 30 lines of code that could be removed if ReadRTCP returned an array of packets.
It's valid to pass multiple RTCP packets in the same UDP packet. The UDP packet is decrypted correctly, but both
rtcp.Unmarshal
andReadRTCP
can only return a single packet.rtcp.Unmarshal
will incorrectly assume the extra concatenated packets to be an extension, improperly ignoring thelength
header.The text was updated successfully, but these errors were encountered: