Timestamp issue with compositor and live sources

Florian Echtler floe at butterbrot.org
Thu Aug 18 12:36:38 UTC 2022


Hello everyone,

I came across an issue when using my custom WebRTC server (currently running on 
GStreamer 1.16.3) with Safari. After an unpredictable amount of time (let's say 
usually somewhere between 2 and 60 seconds), I get the following warning/error, 
and the server crashes:

------------------------------------------------------------------------------

0:01:04.731633057 13722 0x7f30b800daa0 WARN            videodecoder 
gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<avdec_h264-2> 
decreasing timestamp (0:01:04.771572861 < 0:01:04.789710261)

[some very likely unrelated warnings from nicesink]

0:01:09.159572691 13722      0x12fc5e0 ERROR        videoaggregator 
gstvideoaggregator.c:1428:gst_video_aggregator_fill_queues:<frontmixer:sink_2> 
Need timestamped buffers!

------------------------------------------------------------------------------

Is this something I could fix through the "latency" property of compositor? If 
so, what should I set it to? Or would I need to upgrade to 1.18/1.20 for this so 
I can set "ignore-inactive-pads"?

Thanks and best, Florian
-- 
SENT FROM MY DEC VT50 TERMINAL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220818/780fedbb/attachment.sig>


More information about the gstreamer-devel mailing list