rtspsrc: expose and implement is-live property
authorMathieu Duponchelle <mathieu@centricular.com>
Sat, 27 Jul 2019 02:05:01 +0000 (04:05 +0200)
committerMathieu Duponchelle <mduponchelle1@gmail.com>
Tue, 6 Aug 2019 22:45:37 +0000 (22:45 +0000)
commit5c7423d73c053ca8df565cf7740e8890781825fc
tree7541dcd401c961c4a3b1854f191f1fcb230aed83
parent75f53631e55b25889a458d7483dd1f7bf1d6356b
rtspsrc: expose and implement is-live property

This is useful to support the ONVIF case: when is-live is set to
FALSE and onvif-rate-control is no, the client can control the
rate of delivery and arrange for the server to block and still
keep sending when unblocked, without requiring back and forth
PAUSE / PLAY requests. This enables, amongst other things, fast
frame stepping on the client side.

When is-live is FALSE, we don't use a manager at all. This case
was actually already pretty well handled by the current code. The
standard manager, rtpbin, is simply no longer needed in this case.

Applications can instantiate a downloadbuffer after rtspsrc if
needed.
gst/rtsp/gstrtspsrc.c
gst/rtsp/gstrtspsrc.h