rtpsession: also emit RTCP activity on SR
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 23 Dec 2010 11:58:05 +0000 (12:58 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 23 Dec 2010 12:58:30 +0000 (13:58 +0100)
Also emit RTCP activity signals when we receive an SR packet without RB blocks,
such as from a sender that is not receiving anything.

gst/rtpmanager/rtpsession.c

index 0a0ee88..83d763a 100644 (file)
@@ -1647,10 +1647,9 @@ rtp_session_process_rb (RTPSession * sess, RTPSource * source,
        * the other sender to see if we are better or worse. */
       rtp_source_process_rb (source, arrival->current_time, fractionlost,
           packetslost, exthighestseq, jitter, lsr, dlsr);
-
-      on_ssrc_active (sess, source);
     }
   }
+  on_ssrc_active (sess, source);
 }
 
 /* A Sender report contains statistics about how the sender is doing. This