Error received from element pulsesrc: Internal data stream error

I have a pipeline that runs with gst-launch-1.0
I have coded in C. The display stays blank and streaming stops with the above message as output and a message about streaming stopping.
I have exactly duplicated caps as found in the dot graph.
Setting GST_DEBUG=caps:6 gives no additional output.
Setting debug to 6 and saving output has lots of pulsesrc entries but nothing shouts “It’s Me”
Can anybody offer suggestions please.
James

It’s hard to advise with so few details…
Can you try to launch your pipeline with gst_parse_launch() ? This would be quite similar to what gst-launch does.

Note that if you want to access properties/signal/pads of an element, you can set its name property in the pipeline and you can later retrieve pointer to element using gst_bin_get_by_name(GST_BIN(pipeline), "my_element_name");

Thanks. I did code with gst_parse_launch. The gst-launch-1.0 version does run and from the dot graph I replicated the CAPS. My gst_parse_launch version give the above error. I have got the Element pointer but I dont know what to look for.
My goal is to achieve continous live display, continous network stream and dynamic recording. Run Ridge’s interpipe example looks ideal but their (C) code does not run and their daemon is not suitable.
I’m currently trying the intervideosink/src elements where I can run/idle the record pipeline