RTCPPacket.addRb

bool addRb(uint ssrc, ubyte fractionlost, int packetslost, uint exthighestseq, uint jitter, uint lsr, uint dlsr)

Add a new report block to packet with the given values.

Parameters

ssrcdata source being reported
fractionlostfraction lost since last SR/RR
packetslostthe cumululative number of packets lost
exthighestseqthe extended last sequence number received
jitterthe interarrival jitter
lsrthe last SR packet from this source
dlsrthe delay since last SR packet

Returns

true if the packet was created. This function can return false if

the max MTU is exceeded or the number of report blocks is greater than #GST_RTCP_MAX_RB_COUNT.