rtpsession: only delay RTCP when we are a sender
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 20 Feb 2013 19:03:27 +0000 (21:03 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 20 Feb 2013 19:07:41 +0000 (21:07 +0200)
commita61055809fbba0b3e76328e1b5f24d8a5b021fc2
tree4b3ba8b43b241d3762844b2046a3009f2cc1cfc1
parente29ab42922706e0c4a1bb3fc8041c9a9dac6d4f1
rtpsession: only delay RTCP when we are a sender

Only delay the RTCP thread when we are a sender, which we can know because we
have a send_rtp_src pad. Otherwise we might delay the RTCP thread if we
are only a receiver and then there is no code path that wakes up the
RTCP thread and we end up without RTCP packets.
gst/rtpmanager/gstrtpsession.c