DescriptionAdd support for fragmentation in RtcpPacket.
If the buffer becomes full an OnPacketReady callback will be used to
send the packets created so far. On success the buffer can be reused.
The same callback will be called when the last packet has beed created.
Also made some changes to RawPacket. Buffer will now be heap-allocated
rather than (potentially) stack-allocated, but on the plus side it can
now be allocted with variable size and also avoids one memcpy.
BUG=
patch from issue 56429004 at patchset 160001 (http://crrev.com/56429004#ps160001)
R=asapersson@webrtc.org
Committed: https://crrev.com/c1b9d4e686c184e4b1779d442d447128477d3b8b
Cr-Commit-Position: refs/heads/master@{#9390}
Patch Set 1 #Patch Set 2 : Removed stack allocated variable length array #
Total comments: 2
Patch Set 3 : Fixed nit, plus buffer overflow in nack test #
Messages
Total messages: 7 (1 generated)
|