rtspsrc: set absolute range headers if only UTC is accepted
Submitted by dashesy
Link to original bug (#776601)
Description
Created attachment 342599
USe absolute clock range if only UTC is accepted
Attached please find 2 patches, one against plugins-good, and one smaller one for plugins-base.
Basically if during SETUP in the response header we have 'Accept-Ranges':'UTC' then in gen_range_header
I use absolute time instead of npt.
This is a requirement when playing back ONVIF streams but would always make sense because if only UTC is accepted the server is waiting to get an absolute time (and not npt).
Bug 762884 is relevant but the advantage of a generic solution is that it even works with gst-launch
without the need to set up a signal handler and correct the headers.
Patch 342599, "USe absolute clock range if only UTC is accepted":
parse_utc_plugins_good.patch
Version: 1.10.2