rtpmanager : rtpsession: Dubious total bytes calculation
While going over rtpsession code, I encountered this line:
/* get packet size including header overhead */
pinfo->bytes += gst_buffer_get_size (*buffer) + pinfo->header_len;
But this doesn't seem to make sense. A RTP/RTCP buffer size will contain the RTP header length also (it's part of the buffer). Digging back, it was already present in 0.10 (using GST_BUFFER_SIZE
). Maybe it was a glitch that crept in the 1.0 porting ?