An internal sender in a session is also a receiver of its own packets so update
the receiver stats. Other senders in the session will use this info to generate
correct RB blocks in their SR reports.
source->validated = TRUE;
source->internal = TRUE;
+ source->probation = FALSE;
rtp_source_set_sdes_struct (source, gst_structure_copy (sess->sdes));
rtp_source_set_callbacks (source, &callbacks, sess);
src->stats.packets_sent += pinfo->packets;
src->stats.octets_sent += pinfo->payload_len;
src->bytes_sent += pinfo->payload_len;
+ /* we are also a receiver of our packets */
+ update_receiver_stats (src, pinfo);
running_time = pinfo->running_time;