RidgeRun / gst-interpipe

GStreamer plug-in for interpipeline communication
Other
143 stars 64 forks source link

gst_segment_to_running_time: assertion 'segment->format == format' failed #143

Open blokfyuh opened 1 year ago

blokfyuh commented 1 year ago

Hello guys,

I'm running those two pipelines and I get this infamous error gst_segment_to_running_time: assertion 'segment->format == format' failed

udpsrc port=1234 ! application/x-rtp,media=video,encoding-name=H264,payload=108,clock-rate=90000 !
 queue ! interpipesink name=input-pipe forward-events=true

webrtcbin name=sendonly bundle-policy=max-compat
 interpipesrc listen-to=input-pipe is-live=true allow-renegotiation=true format=2 ! queue ! sendonly.

I've seen multiple issues related to this error where it's advised to set format=time. When I set this property the error disappears BUT I get 10/15 seconds latency on the WebRTC viewer. Whereas, when I don't set format=time the latency is negligible.

Any ideas ?

Thanks.