rtspsrc: expose and implement onvif-mode property
authorMathieu Duponchelle <mathieu@centricular.com>
Fri, 12 Jul 2019 20:33:08 +0000 (22:33 +0200)
committerMathieu Duponchelle <mduponchelle1@gmail.com>
Tue, 6 Aug 2019 22:45:37 +0000 (22:45 +0000)
commit5f1a732bc7b76a6f1b8aa5f26b6e76fbca0261c7
tree167da2a9157d57aaebc9e46eaf2802849c496cf3
parent544f8fecf457a796f039665f25336547352653c0
rtspsrc: expose and implement onvif-mode property

Refactor the code for parsing and generating the Range, taking
advantage of existing API in GstRtspTimeRange.

Only use the TCP protocol in that mode, as per the specification.

Generate an accurate segment when in that mode, and signal to the
depayloader that it should not generate its own segment, through
the "onvif-mode" field in the caps, see
<https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/merge_requests/328>
for more information.

Translate trickmode seek flags to their ONVIF representation

Expose an onvif-rate-control property
gst/rtsp/gstrtspsrc.c
gst/rtsp/gstrtspsrc.h