stream: block the output of rtpbin instead of the source pipeline
authorMatthew Waters <matthew@centricular.com>
Mon, 21 Nov 2016 12:29:56 +0000 (23:29 +1100)
committerMatthew Waters <matthew@centricular.com>
Wed, 23 Nov 2016 12:08:16 +0000 (23:08 +1100)
commitb38eb8e99efe0147b15ed443d2481d3786d9e1df
tree9187327abca3330f2b90e3da377c118894b67771
parentf00ac2daf244fecf59272bfd841685cc0af7d512
stream: block the output of rtpbin instead of the source pipeline

85c52e194bcb81928b96614be0ae47d59eccb1ce introduced a more correct
detection of the srtp rollover counter to add to the SDP.

Unfortunately, it was incomplete for live pipelines where the logic
blocks the source bin before creating the SDP and thus would never have
the necessary informaiton to create a correct SDP with srtp encryption.

Move the pad blocks to rtpbin's output pads instead so that the
necessary information can be created before we need the information for
the SDP.

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