rtsp-stream: RTCP and RTP transport cache cookies seperated
authorAnila Balavan <anilabn@axis.com>
Fri, 30 Jan 2015 11:50:20 +0000 (12:50 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 30 Jan 2015 17:26:44 +0000 (18:26 +0100)
commit18668bf49570b3ab75e35dd275f4761f0210cc42
tree9262feee79f1c0e6c9822f4d13c7c0333e85e4ca
parent6987a00fa9e3a918498a311a4069a427373a5d32
rtsp-stream: RTCP and RTP transport cache cookies seperated

RTCP packets were not sent because the same tr_cache_cookie was used for
both RTP and RTCP. So only one of the tr_cache lists were populated
depending on which one was sent first. If the tr_cache list is not
populated then no packets can be sent. Most often this happened to be
RTCP. Now seperate RTCP and RTP transport cache cookies are added which
resulted in both the tr_cache_lists to be populated regardless of which
one was sent first.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=743734
gst/rtsp-server/rtsp-stream.c