Video timeout longer

Is there a way t0o have video timeout to be longer or never timeout? I am using an ipmesh and by the time everything is up and running the video waiting by MP has already timed out and i have to restart it everytime. Maybe with a script?

if you use the interface, its a 60 seconds timeout
if you use cmdline
/gstream “pipelinehere”
it will try 36 times to init the stream

i often use this to test
/gstream “videotestsrc ! video/x-raw, width=1280, height=720,framerate=25/1 ! clockoverlay ! videoconvert ! video/x-raw,format=BGRA ! appsink name=outsink”

I just need it to try for around 2-3 minutes, how can i do it?
I have an ipmesh and a vpn, depending on what i need in the particular location and both are way slower than mp timeout to establish connection and start streaming, so a “never timeout” option would be great.
On a version i compiled i put it to 5 minutes but i do not want to keep using main, not my own. Is there a way to set longer timeout with a .cs script?