teltek / gst-plugin-ndi

GStreamer NDI Plugin for Linux
GNU Lesser General Public License v2.1
155 stars 27 forks source link

Signal lost if not refreshed #60

Open RobertoAlda opened 3 years ago

RobertoAlda commented 3 years ago

Hi, if i receive a signal which doesn't change, like a fixed test pattern from Windows NDI Tools or a still slide from another PC with NDI Screen Capture running, it doesn't refresh when i change the signal later.

The command executed in a Ubuntu 20.04.2 LTS machine to receive NDI Tools Test patterns from a Windows PC is:

gst-launch-1.0 ndivideosrc ndi-name=""PCROBERTOALDA\ (Test\ Pattern)"" url-address="192.168.1.114:5963" ! autovideoconvert ! autovideosink

and the result is a new window with the correct test pattern signal, but when i change it in the Windows PC it doesn't refresh in gstreamer window on Ubuntu machine. I also tried to use " timeout=0 connect-timeout=0 ", but th eissue still remains.

With GST_DEBUG=5 i noticed these msgs :

0:00:12.642529922 11655 0x560a77c468d0 DEBUG   ndivideosrc src/receiver.rs:918:gstndi::receiver: No video frame received yet, retry 0:00:12.692653642 11655 0x560a77c468d0 DEBUG   ndivideosrc src/receiver.rs:918:gstndi::receiver: No video frame received yet, retry 0:00:12.742997130 11655 0x560a77c468d0 DEBUG   ndivideosrc src/receiver.rs:918:gstndi::receiver: No video frame received yet, retry 0:00:12.793306393 11655 0x560a77c468d0 DEBUG   ndivideosrc src/receiver.rs:914:gstndi::receiver: Timed out -- assuming EOS 0:00:12.793394885 11655 0x560a77c468d0 DEBUG   ndivideosrc src/receiver.rs:727:gstndi::receiver: Signalling EOS

Here the complete log file:

ndiLog_Test pattern.txt

Do i need to force some kind of refresh in the stream?

Please help me, thank you.

nanazhan commented 3 years ago

@RobertoAlda Have you solved the problem? I have the same issue.

RobertoAlda commented 3 years ago

Unfortunately not, but I haven't worked on it anymore

robspearman commented 1 year ago

Try a larger "timeout" parameter like 60000.